![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
#include "quakedef.h"#include "r_shadow.h"#include "polygon.h"#include "image.h"#include "ft2.h"#include "csprogs.h"#include "cl_video.h"#include "cl_collision.h"#include "shader_glsl.h"Go to the source code of this file.
Data Structures | |
| struct | cubemapinfo_t |
| struct | r_qwskincache_t |
| struct | shaderpermutationinfo_t |
| struct | shadermodeinfo_t |
| struct | r_glsl_permutation_t |
| struct | r_skinframe_t |
| struct | suffixinfo_t |
| struct | r_framedata_mem_t |
| struct | r_bufferdata_buffer_t |
| struct | r_decalsystem_splatqueue_t |
Macros | |
| #define | NORMSIZE 64 |
| #define | FOGWIDTH 256 |
| #define | SHADERPERMUTATION_HASHSIZE 256 |
| #define | SHADERSTATICPARMS_COUNT 15 |
| #define | R_COMPILESHADER_STATICPARM_ENABLE(p) r_compileshader_staticparms[(p) >> 5] |= (1 << ((p) & 0x1F)) |
| #define | R_COMPILESHADER_STATICPARM_EMIT(p, n) |
| #define | BLENDFUNC_ALLOWS_COLORMOD 1 |
| #define | BLENDFUNC_ALLOWS_FOG 2 |
| #define | BLENDFUNC_ALLOWS_FOG_HACK0 4 |
| #define | BLENDFUNC_ALLOWS_FOG_HACKALPHA 8 |
| #define | BLENDFUNC_ALLOWS_ANYFOG (BLENDFUNC_ALLOWS_FOG | BLENDFUNC_ALLOWS_FOG_HACK0 | BLENDFUNC_ALLOWS_FOG_HACKALPHA) |
| #define | SKINFRAME_HASH 1024 |
| #define | R_SKINFRAME_LOAD_AVERAGE_COLORS(cnt, getpixel) |
| #define | R_BUFFERDATA_CYCLE 3 |
| #define | RAMPWIDTH 256 |
| #define | BBOXEDGES 13 |
| #define | R_MESH_PLANE_DIST_EPSILON (1.0 / 32.0) |
Enumerations | |
| enum | { SHADERSTATICPARM_SATURATION_REDCOMPENSATE = 0 , SHADERSTATICPARM_EXACTSPECULARMATH = 1 , SHADERSTATICPARM_POSTPROCESS_USERVEC1 = 2 , SHADERSTATICPARM_POSTPROCESS_USERVEC2 = 3 , SHADERSTATICPARM_POSTPROCESS_USERVEC3 = 4 , SHADERSTATICPARM_POSTPROCESS_USERVEC4 = 5 , SHADERSTATICPARM_VERTEXTEXTUREBLEND_USEBOTHALPHAS = 6 , SHADERSTATICPARM_OFFSETMAPPING_USELOD = 7 , SHADERSTATICPARM_SHADOWMAPPCF_1 = 8 , SHADERSTATICPARM_SHADOWMAPPCF_2 = 9 , SHADERSTATICPARM_SHADOWSAMPLER = 10 , SHADERSTATICPARM_CELSHADING = 11 , SHADERSTATICPARM_CELOUTLINES = 12 , SHADERSTATICPARM_FXAA = 13 , SHADERSTATICPARM_COLORFRINGE = 14 } |
| #define BBOXEDGES 13 |
Definition at line 6048 of file gl_rmain.c.
| #define BLENDFUNC_ALLOWS_ANYFOG (BLENDFUNC_ALLOWS_FOG | BLENDFUNC_ALLOWS_FOG_HACK0 | BLENDFUNC_ALLOWS_FOG_HACKALPHA) |
Definition at line 1520 of file gl_rmain.c.
| #define BLENDFUNC_ALLOWS_COLORMOD 1 |
Definition at line 1516 of file gl_rmain.c.
| #define BLENDFUNC_ALLOWS_FOG 2 |
Definition at line 1517 of file gl_rmain.c.
| #define BLENDFUNC_ALLOWS_FOG_HACK0 4 |
Definition at line 1518 of file gl_rmain.c.
| #define BLENDFUNC_ALLOWS_FOG_HACKALPHA 8 |
Definition at line 1519 of file gl_rmain.c.
| #define FOGWIDTH 256 |
| #define NORMSIZE 64 |
| #define R_BUFFERDATA_CYCLE 3 |
Definition at line 3606 of file gl_rmain.c.
Definition at line 906 of file gl_rmain.c.
| #define R_COMPILESHADER_STATICPARM_ENABLE | ( | p | ) | r_compileshader_staticparms[(p) >> 5] |= (1 << ((p) & 0x1F)) |
Definition at line 857 of file gl_rmain.c.
| #define R_MESH_PLANE_DIST_EPSILON (1.0 / 32.0) |
Definition at line 6399 of file gl_rmain.c.
Definition at line 2278 of file gl_rmain.c.
| #define RAMPWIDTH 256 |
| #define SHADERPERMUTATION_HASHSIZE 256 |
Definition at line 828 of file gl_rmain.c.
| #define SHADERSTATICPARMS_COUNT 15 |
Definition at line 851 of file gl_rmain.c.
| #define SKINFRAME_HASH 1024 |
Definition at line 2156 of file gl_rmain.c.
Definition at line 833 of file gl_rmain.c.
|
static |
Definition at line 3453 of file gl_rmain.c.
Referenced by R_CullBox(), and R_CullFrustum().
Definition at line 349 of file gl_rmain.c.
Referenced by CL_Fog_f(), CL_Fog_HeightTexture_f(), and CL_ParseEntityLump().
Definition at line 3228 of file gl_rmain.c.
Referenced by Render_Init().
Definition at line 3202 of file gl_rmain.c.
Referenced by GL_Main_Init().
Definition at line 3146 of file gl_rmain.c.
Referenced by GL_Main_Init().
Definition at line 3049 of file gl_rmain.c.
Referenced by GL_Main_Init().
generate animcache data for all entities marked visible
Definition at line 3882 of file gl_rmain.c.
Referenced by R_RenderView(), and R_Water_ProcessPlanes().
clear the animcache pointers on all known render entities
Definition at line 3770 of file gl_rmain.c.
Referenced by R_RenderView().
Animation cache prevents re-generating mesh data for an animated model multiple times in one frame for lighting, shadowing, reflections, etc.
free all R_AnimCache memory
Definition at line 3766 of file gl_rmain.c.
Referenced by gl_main_shutdown(), and gl_main_start().
| qbool R_AnimCache_GetEntity | ( | entity_render_t * | ent, |
| qbool | wantnormals, | ||
| qbool | wanttangents | ||
| ) |
get the skeletal data or cached animated mesh data for an entity (optionally with normals and tangents)
Definition at line 3797 of file gl_rmain.c.
Referenced by R_AnimCache_CacheVisibleEntities(), R_Shadow_PrepareLight(), and R_Shadow_PrepareModelShadows().
Definition at line 1521 of file gl_rmain.c.
Referenced by R_GetCurrentTexture(), and R_SetupShader_Surface().
|
static |
Definition at line 5325 of file gl_rmain.c.
Referenced by R_RenderView().
Definition at line 5232 of file gl_rmain.c.
Referenced by R_RenderView().
Definition at line 5121 of file gl_rmain.c.
Referenced by R_BlendView().
Definition at line 5027 of file gl_rmain.c.
Referenced by R_RenderView().
begin a new frame (recycle old buffers)
Definition at line 3686 of file gl_rmain.c.
Referenced by CL_UpdateScreen().
frees all dynamic buffers
free all dynamic vertex/index/uniform buffers
Definition at line 3621 of file gl_rmain.c.
Referenced by gl_main_newmap(), gl_main_shutdown(), and gl_main_start().
|
static |
Definition at line 3644 of file gl_rmain.c.
Referenced by R_BufferData_NewFrame(), and R_BufferData_Store().
| r_meshbuffer_t * R_BufferData_Store | ( | size_t | datasize, |
| const void * | data, | ||
| r_bufferdata_type_t | type, | ||
| int * | returnbufferoffset | ||
| ) |
request space in a vertex/index/uniform buffer for the chosen data, returns the buffer pointer and offset, always successful
Definition at line 3715 of file gl_rmain.c.
Referenced by Mod_Mesh_UploadDynamicBuffers(), R_AnimCache_GetEntity(), R_Mesh_Draw(), R_Mesh_PrepareVertices_Generic_Arrays(), R_Mesh_PrepareVertices_Mesh_Arrays(), R_Mesh_PrepareVertices_Vertex3f(), and RSurf_UploadBuffersForBatch().
Definition at line 371 of file gl_rmain.c.
Referenced by gl_main_start().
Definition at line 526 of file gl_rmain.c.
Referenced by R_UpdateFog().
Definition at line 470 of file gl_rmain.c.
Referenced by R_UpdateFog().
Definition at line 408 of file gl_rmain.c.
Referenced by gl_main_start().
Definition at line 396 of file gl_rmain.c.
Referenced by gl_main_start().
Definition at line 401 of file gl_rmain.c.
Referenced by gl_main_start().
Definition at line 6289 of file gl_rmain.c.
Referenced by R_DrawParticle_TransparentCallback().
| void R_CalcSprite_Vertex3f | ( | float * | vertex3f, |
| const vec3_t | origin, | ||
| const vec3_t | left, | ||
| const vec3_t | up, | ||
| float | scalex1, | ||
| float | scalex2, | ||
| float | scaley1, | ||
| float | scaley2 | ||
| ) |
Definition at line 6319 of file gl_rmain.c.
Referenced by R_BeginCoronaQuery(), R_DrawCorona(), R_Model_Sprite_Draw_TransparentCallback(), R_Shadow_DrawCursor_TransparentCallback(), and R_Shadow_DrawLightSprite_TransparentCallback().
|
static |
Definition at line 4555 of file gl_rmain.c.
Referenced by R_MotionBlurView(), and R_RenderTarget_Get().
| qbool R_CanSeeBox | ( | int | numsamples, |
| vec_t | eyejitter, | ||
| vec_t | entboxenlarge, | ||
| vec_t | entboxexpand, | ||
| vec_t | pad, | ||
| vec3_t | eye, | ||
| vec3_t | entboxmins, | ||
| vec3_t | entboxmaxs | ||
| ) |
Definition at line 3896 of file gl_rmain.c.
Referenced by R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_PrepareLight(), R_View_UpdateEntityVisible(), R_View_WorldVisibility(), and R_View_WorldVisibility_CullSurfaces().
Definition at line 911 of file gl_rmain.c.
Referenced by R_GLSL_CompilePermutation().
Definition at line 861 of file gl_rmain.c.
Referenced by R_RenderView(), and R_Shadow_SetShadowMode().
Definition at line 3478 of file gl_rmain.c.
Referenced by R_Q1BSP_RecursiveGetLightInfo_BIH(), R_Q1BSP_RecursiveGetLightInfo_BSP(), and R_Shadow_PrepareLight().
Definition at line 3472 of file gl_rmain.c.
Referenced by R_DrawDebugModel(), R_DrawPortals(), R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_BounceGrid_TracePhotons_Shot(), R_Shadow_PrepareLight(), R_View_UpdateEntityVisible(), R_View_WorldVisibility(), and R_View_WorldVisibility_CullSurfaces().
Definition at line 10171 of file gl_rmain.c.
Referenced by R_DrawParticle_TransparentCallback(), and R_Model_Sprite_Draw_TransparentCallback().
|
static |
Definition at line 9509 of file gl_rmain.c.
Referenced by R_DecalSystem_ApplySplatEntitiesQueue().
Definition at line 9565 of file gl_rmain.c.
Referenced by R_DrawModelDecals().
| void R_DecalSystem_Reset | ( | decalsystem_t * | decalsystem | ) |
Definition at line 9170 of file gl_rmain.c.
Referenced by CL_UpdateNetworkEntities(), CLVM_free_edict(), R_DecalSystem_SplatEntity(), R_DrawModelDecals_Entity(), and R_DrawModelDecals_FadeEntity().
|
static |
Definition at line 9177 of file gl_rmain.c.
Referenced by R_DecalSystem_SplatTriangle().
| void R_DecalSystem_SplatEntities | ( | const vec3_t | worldorigin, |
| const vec3_t | worldnormal, | ||
| float | r, | ||
| float | g, | ||
| float | b, | ||
| float | a, | ||
| float | s1, | ||
| float | t1, | ||
| float | s2, | ||
| float | t2, | ||
| float | worldsize | ||
| ) |
Definition at line 9549 of file gl_rmain.c.
Referenced by CL_ImmediateBloodStain(), and CL_SpawnDecalParticleForSurface().
|
static |
Definition at line 9350 of file gl_rmain.c.
Referenced by R_DecalSystem_ApplySplatEntities().
|
static |
Definition at line 9257 of file gl_rmain.c.
Referenced by R_DecalSystem_SplatEntity().
|
static |
Definition at line 6070 of file gl_rmain.c.
Referenced by R_DrawEntityBBoxes_Callback().
only used if skyrendermasked, and normally returns false
Definition at line 4066 of file gl_rmain.c.
Referenced by R_RenderScene().
| void R_DrawCustomSurface | ( | skinframe_t * | skinframe, |
| const matrix4x4_t * | texmatrix, | ||
| int | materialflags, | ||
| int | firstvertex, | ||
| int | numvertices, | ||
| int | firsttriangle, | ||
| int | numtriangles, | ||
| qbool | writedepth, | ||
| qbool | prepass, | ||
| qbool | ui | ||
| ) |
Definition at line 10216 of file gl_rmain.c.
Referenced by R_DrawCorona(), R_Shadow_DrawCursor_TransparentCallback(), R_Shadow_DrawLightSprite_TransparentCallback(), R_SkyBox(), and R_SkySphere().
| void R_DrawCustomSurface_Texture | ( | texture_t * | texture, |
| const matrix4x4_t * | texmatrix, | ||
| int | materialflags, | ||
| int | firstvertex, | ||
| int | numvertices, | ||
| int | firsttriangle, | ||
| int | numtriangles, | ||
| qbool | writedepth, | ||
| qbool | prepass, | ||
| qbool | ui | ||
| ) |
Definition at line 10236 of file gl_rmain.c.
Referenced by R_DrawCustomSurface(), and R_Model_Sprite_Draw_TransparentCallback().
Definition at line 9811 of file gl_rmain.c.
Referenced by R_DrawModelSurfaces().
|
static |
Definition at line 6156 of file gl_rmain.c.
Referenced by R_RenderScene().
|
static |
Definition at line 6122 of file gl_rmain.c.
Referenced by R_DrawEntityBBoxes().
|
static |
Definition at line 9114 of file gl_rmain.c.
Referenced by R_DrawLocs().
Definition at line 9157 of file gl_rmain.c.
Referenced by R_RenderScene().
Definition at line 9775 of file gl_rmain.c.
Referenced by R_RenderScene().
|
static |
Definition at line 9645 of file gl_rmain.c.
Referenced by R_DrawModelDecals().
|
static |
Definition at line 9576 of file gl_rmain.c.
Referenced by R_DrawModelDecals().
Definition at line 4086 of file gl_rmain.c.
Referenced by R_RenderScene().
Definition at line 4135 of file gl_rmain.c.
Referenced by R_RenderWaterPlanes().
Definition at line 4120 of file gl_rmain.c.
Referenced by R_RenderScene().
Definition at line 4105 of file gl_rmain.c.
Referenced by R_RenderScene().
| void R_DrawModelSurfaces | ( | entity_render_t * | ent, |
| qbool | skysurfaces, | ||
| qbool | writedepth, | ||
| qbool | depthonly, | ||
| qbool | debug, | ||
| qbool | prepass, | ||
| qbool | ui | ||
| ) |
Definition at line 10034 of file gl_rmain.c.
Referenced by DrawQ_FlushUI(), R_Mod_Draw(), R_Mod_DrawDebug(), R_Mod_DrawDepth(), R_Mod_DrawPrepass(), and R_Mod_DrawSky().
|
static |
Definition at line 8868 of file gl_rmain.c.
Referenced by R_DrawCustomSurface_Texture(), R_DrawSurface_TransparentCallback(), and R_ProcessModelTextureSurfaceList().
|
static |
Definition at line 6279 of file gl_rmain.c.
Referenced by R_DrawModels().
|
static |
Definition at line 6224 of file gl_rmain.c.
Referenced by R_DrawNoModel().
|
static |
Definition at line 8887 of file gl_rmain.c.
Referenced by R_ProcessTransparentTextureSurfaceList().
|
static |
Definition at line 9001 of file gl_rmain.c.
Referenced by R_ProcessModelTextureSurfaceList().
|
static |
Definition at line 8722 of file gl_rmain.c.
Referenced by R_DrawModelTextureSurfaceList().
|
static |
Definition at line 8782 of file gl_rmain.c.
Referenced by R_DrawModelTextureSurfaceList().
|
static |
Definition at line 8623 of file gl_rmain.c.
Referenced by R_ProcessModelTextureSurfaceList().
| void R_EntityMatrix | ( | const matrix4x4_t * | matrix | ) |
Definition at line 4425 of file gl_rmain.c.
Referenced by R_BlendView(), R_DrawExplosion_TransparentCallback(), R_DrawLoc_Callback(), R_DrawPortal_Callback(), R_MotionBlurView(), R_ResetViewRendering2D_Common(), R_ResetViewRendering3D(), R_SetViewport(), R_Shadow_DrawCoronas(), R_Shadow_RenderMode_DrawDeferredLight(), RSurf_ActiveCustomEntity(), and RSurf_ActiveModelEntity().
|
static |
Definition at line 6443 of file gl_rmain.c.
Referenced by R_tcMod_ApplyToMatrix(), and RSurf_PrepareVerticesForBatch().
allocate some temporary memory for your purposes
Definition at line 3547 of file gl_rmain.c.
Referenced by R_AnimCache_GetEntity(), R_FrameData_Store(), R_Q1BSP_CallRecursiveGetLightInfo(), RSurf_ActiveCustomEntity(), RSurf_ActiveModelEntity(), and RSurf_PrepareVerticesForBatch().
prepare for a new frame, recycles old buffers if a resize occurred previously
Definition at line 3529 of file gl_rmain.c.
Referenced by CL_UpdateScreen().
free all R_FrameData memory
Definition at line 3501 of file gl_rmain.c.
Referenced by gl_main_newmap(), gl_main_shutdown(), and gl_main_start().
Definition at line 3511 of file gl_rmain.c.
Referenced by R_FrameData_Alloc(), and R_FrameData_NewFrame().
discard recent memory allocations (rewind to marker)
Definition at line 3596 of file gl_rmain.c.
Referenced by R_Mod_DrawLight(), R_Mod_DrawShadowMap(), R_Q1BSP_DrawLight_TransparentCallback(), R_QueueModelSurfaceList(), and R_RTLight_Compile().
set a marker that allows you to discard the following temporary memory allocations
Definition at line 3589 of file gl_rmain.c.
Referenced by R_Mod_DrawLight(), R_Mod_DrawShadowMap(), R_Q1BSP_DrawLight_TransparentCallback(), R_QueueModelSurfaceList(), and R_RTLight_Compile().
allocate some temporary memory and copy this data into it
Definition at line 3581 of file gl_rmain.c.
Referenced by R_Shadow_PrepareLight(), and RSurf_PrepareVerticesForBatch().
|
static |
Definition at line 3446 of file gl_rmain.c.
Referenced by _R_CullBox().
| rtexture_t * R_GetCubemap | ( | const char * | basename | ) |
Definition at line 2981 of file gl_rmain.c.
Referenced by Mod_LoadTextureFromQ3Shader(), R_Shadow_PrepareLight(), and VM_CL_loadcubemap().
Definition at line 6585 of file gl_rmain.c.
Referenced by R_DrawCustomSurface_Texture(), R_DrawDebugModel(), R_DrawSurface_TransparentCallback(), R_Mod_DrawLight(), R_Mod_DrawShadowMap(), R_Model_Sprite_Draw_TransparentCallback(), R_Q1BSP_DrawLight_TransparentCallback(), R_Q1BSP_RecursiveGetLightInfo_BIH(), R_Q1BSP_RecursiveGetLightInfo_BSP(), R_QueueModelSurfaceList(), and R_Water_AddWaterPlane().
| r_refdef_scene_t * R_GetScenePointer | ( | r_refdef_scene_type_t | scenetype | ) |
Definition at line 5596 of file gl_rmain.c.
Referenced by MVM_init_cmd().
|
static |
Definition at line 1024 of file gl_rmain.c.
Referenced by R_SetupShader_SetPermutationGLSL().
|
static |
Definition at line 1419 of file gl_rmain.c.
Referenced by GL_Main_Init().
|
static |
Definition at line 940 of file gl_rmain.c.
Referenced by R_SetupShader_SetPermutationGLSL().
| void R_GLSL_Restart_f | ( | cmd_state_t * | cmd | ) |
Definition at line 1394 of file gl_rmain.c.
Referenced by GL_Main_Init(), gl_main_shutdown(), R_RenderView(), and R_Shadow_SetShadowMode().
Definition at line 4152 of file gl_rmain.c.
Referenced by CL_UpdateScreen().
Definition at line 987 of file gl_rmain.c.
Referenced by GL_Main_Init().
|
static |
Definition at line 2907 of file gl_rmain.c.
Referenced by R_GetCubemap().
|
static |
Definition at line 6558 of file gl_rmain.c.
Referenced by R_GetCurrentTexture().
Definition at line 2997 of file gl_rmain.c.
Referenced by gl_main_newmap(), and gl_main_shutdown().
Definition at line 3010 of file gl_rmain.c.
Referenced by R_View_Update().
Definition at line 6400 of file gl_rmain.c.
Definition at line 6378 of file gl_rmain.c.
Referenced by R_Mesh_AddBrushMeshFromPlanes().
Definition at line 6357 of file gl_rmain.c.
Definition at line 6335 of file gl_rmain.c.
Referenced by R_Mesh_AddPolygon3d(), and R_Mesh_AddPolygon3f().
|
static |
Definition at line 5259 of file gl_rmain.c.
Referenced by R_RenderView().
|
static |
Definition at line 9014 of file gl_rmain.c.
Referenced by R_QueueModelSurfaceList().
|
static |
Definition at line 8969 of file gl_rmain.c.
Referenced by R_ProcessModelTextureSurfaceList().
|
static |
Definition at line 9048 of file gl_rmain.c.
Referenced by R_DrawModelSurfaces().
| void R_RenderScene | ( | int | viewfbo, |
| rtexture_t * | viewdepthtexture, | ||
| rtexture_t * | viewcolortexture, | ||
| int | viewx, | ||
| int | viewy, | ||
| int | viewwidth, | ||
| int | viewheight | ||
| ) |
Definition at line 5842 of file gl_rmain.c.
Referenced by R_RenderView(), and R_Water_ProcessPlanes().
Definition at line 4531 of file gl_rmain.c.
Referenced by gl_main_shutdown(), and SCR_DrawScreen().
| r_rendertarget_t * R_RenderTarget_Get | ( | int | texturewidth, |
| int | textureheight, | ||
| textype_t | depthtextype, | ||
| qbool | depthisrenderbuffer, | ||
| textype_t | colortextype0, | ||
| textype_t | colortextype1, | ||
| textype_t | colortextype2, | ||
| textype_t | colortextype3 | ||
| ) |
Definition at line 4572 of file gl_rmain.c.
Referenced by R_Bloom_MakeTexture(), R_Bloom_StartFrame(), R_Envmap_f(), and R_Water_ProcessPlanes().
| void R_RenderView | ( | int | fbo, |
| rtexture_t * | depthtexture, | ||
| rtexture_t * | colortexture, | ||
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height | ||
| ) |
Definition at line 5645 of file gl_rmain.c.
Referenced by R_Envmap_f(), SCR_DrawScreen(), and VM_CL_R_RenderScene().
Definition at line 4520 of file gl_rmain.c.
Referenced by CL_VM_UpdateView(), R_RenderView(), and R_Water_ProcessPlanes().
| void R_RenderWaterPlanes | ( | int | viewfbo, |
| rtexture_t * | viewdepthtexture, | ||
| rtexture_t * | viewcolortexture, | ||
| int | viewx, | ||
| int | viewy, | ||
| int | viewwidth, | ||
| int | viewheight | ||
| ) |
Definition at line 5811 of file gl_rmain.c.
Referenced by R_RenderView().
| void R_ResetViewRendering2D | ( | int | viewfbo, |
| rtexture_t * | viewdepthtexture, | ||
| rtexture_t * | viewcolortexture, | ||
| int | viewx, | ||
| int | viewy, | ||
| int | viewwidth, | ||
| int | viewheight | ||
| ) |
Definition at line 4485 of file gl_rmain.c.
Referenced by R_BlendView(), and R_MotionBlurView().
| void R_ResetViewRendering2D_Common | ( | int | viewfbo, |
| rtexture_t * | viewdepthtexture, | ||
| rtexture_t * | viewcolortexture, | ||
| int | viewx, | ||
| int | viewy, | ||
| int | viewwidth, | ||
| int | viewheight, | ||
| float | x2, | ||
| float | y2 | ||
| ) |
Definition at line 4447 of file gl_rmain.c.
Referenced by DrawQ_Start(), and R_ResetViewRendering2D().
| void R_ResetViewRendering3D | ( | int | viewfbo, |
| rtexture_t * | viewdepthtexture, | ||
| rtexture_t * | viewcolortexture, | ||
| int | viewx, | ||
| int | viewy, | ||
| int | viewwidth, | ||
| int | viewheight | ||
| ) |
Definition at line 4490 of file gl_rmain.c.
Referenced by R_RenderView(), and R_Water_ProcessPlanes().
| void R_SelectScene | ( | r_refdef_scene_type_t | scenetype | ) |
Definition at line 5581 of file gl_rmain.c.
Referenced by MP_Draw(), and MVM_error_cmd().
Definition at line 2090 of file gl_rmain.c.
Referenced by R_Shadow_RenderMode_DrawDeferredLight().
Definition at line 1492 of file gl_rmain.c.
Referenced by R_DrawSurface_TransparentCallback(), R_DrawTextureSurfaceList_DepthOnly(), R_DrawTextureSurfaceList_Sky(), R_Shadow_ClearShadowMapTexture(), and R_Shadow_RenderMode_ShadowMap().
| void R_SetupShader_Generic | ( | rtexture_t * | t, |
| qbool | usegamma, | ||
| qbool | notrippy, | ||
| qbool | suppresstexalpha | ||
| ) |
Definition at line 1460 of file gl_rmain.c.
Referenced by R_Bloom_MakeTexture(), R_DrawExplosion_TransparentCallback(), R_DrawModelDecals_Entity(), R_DrawParticle_TransparentCallback(), R_MotionBlurView(), R_SetupShader_Generic_NoTexture(), and SCR_DrawLoadingScreen().
Definition at line 1487 of file gl_rmain.c.
Referenced by R_DrawBBoxMesh(), R_DrawDebugModel(), R_DrawEntityBBoxes_Callback(), R_DrawLoc_Callback(), R_DrawNoModel_TransparentCallback(), R_DrawPortal_Callback(), R_DrawTextureSurfaceList_ShowSurfaces(), R_DrawTextureSurfaceList_Sky(), R_Shadow_DrawCoronas(), R_Shadow_RenderMode_Reset(), and SCR_DrawLoadingStack().
Definition at line 1346 of file gl_rmain.c.
Referenced by gl_main_start(), R_BlendView(), R_SetupShader_DeferredLight(), R_SetupShader_DepthOrShadow(), R_SetupShader_Generic(), and R_SetupShader_Surface().
| void R_SetupShader_Surface | ( | const float | rtlightambient[3], |
| const float | rtlightdiffuse[3], | ||
| const float | rtlightspecular[3], | ||
| rsurfacepass_t | rsurfacepass, | ||
| int | texturenumsurfaces, | ||
| const msurface_t ** | texturesurfacelist, | ||
| void * | surfacewaterplane, | ||
| qbool | notrippy, | ||
| qbool | ui | ||
| ) |
Definition at line 1562 of file gl_rmain.c.
Referenced by R_DrawTextureSurfaceList_GL20(), and R_Shadow_RenderLighting_Light_GLSL().
| void R_SetupView | ( | qbool | allowwaterclippingplane, |
| int | viewfbo, | ||
| rtexture_t * | viewdepthtexture, | ||
| rtexture_t * | viewcolortexture, | ||
| int | viewx, | ||
| int | viewy, | ||
| int | viewwidth, | ||
| int | viewheight | ||
| ) |
Definition at line 4392 of file gl_rmain.c.
Referenced by R_RenderScene(), R_ResetViewRendering3D(), and R_Water_ProcessPlanes().
Definition at line 965 of file gl_rmain.c.
Referenced by R_InitShaderModeInfo().
| skinframe_t * R_SkinFrame_Find | ( | const char * | name, |
| int | textureflags, | ||
| int | comparewidth, | ||
| int | compareheight, | ||
| int | comparecrc, | ||
| qbool | add | ||
| ) |
Definition at line 2239 of file gl_rmain.c.
Referenced by R_LoadQWSkin(), R_SkinFrame_LoadExternal(), R_SkinFrame_LoadExternal_SkinFrame(), R_SkinFrame_LoadInternal8bit(), R_SkinFrame_LoadInternalBGRA(), R_SkinFrame_LoadInternalQuake(), R_SkinFrame_LoadInternalUsingTexture(), and R_SkinFrame_LoadMissing().
| skinframe_t * R_SkinFrame_FindNextByName | ( | skinframe_t * | last, |
| const char * | name | ||
| ) |
Definition at line 2216 of file gl_rmain.c.
|
static |
Definition at line 2675 of file gl_rmain.c.
Referenced by R_GetCurrentTexture().
| skinframe_t * R_SkinFrame_LoadExternal | ( | const char * | name, |
| int | textureflags, | ||
| qbool | complain, | ||
| qbool | fallbacknotexture | ||
| ) |
Definition at line 2313 of file gl_rmain.c.
Referenced by Draw_CachePic_Flags(), Draw_GetPicTexture(), Draw_IsPicLoaded(), Mod_CreateShaderPassFromQ3ShaderLayer(), Mod_IDP0_Load(), Mod_IDS2_Load(), Mod_LoadTextureFromQ3Shader(), Mod_Q1BSP_LoadTextures(), Mod_Sprite_SharedSetup(), R_InitParticleTexture(), and R_ReplaceWorldTexture_f().
| skinframe_t * R_SkinFrame_LoadExternal_SkinFrame | ( | skinframe_t * | skinframe, |
| const char * | name, | ||
| int | textureflags, | ||
| qbool | complain, | ||
| qbool | fallbacknotexture | ||
| ) |
Definition at line 2330 of file gl_rmain.c.
Referenced by Draw_CachePic_Flags(), and R_SkinFrame_LoadExternal().
| skinframe_t * R_SkinFrame_LoadInternal8bit | ( | const char * | name, |
| int | textureflags, | ||
| const unsigned char * | skindata, | ||
| int | width, | ||
| int | height, | ||
| const unsigned int * | palette, | ||
| const unsigned int * | alphapalette | ||
| ) |
Definition at line 2748 of file gl_rmain.c.
Referenced by R_Shadow_MakeTextures().
| skinframe_t * R_SkinFrame_LoadInternalBGRA | ( | const char * | name, |
| int | textureflags, | ||
| const unsigned char * | skindata, | ||
| int | width, | ||
| int | height, | ||
| int | comparewidth, | ||
| int | compareheight, | ||
| int | comparecrc, | ||
| qbool | sRGB | ||
| ) |
Definition at line 2545 of file gl_rmain.c.
Referenced by CL_Beams_SetupBuiltinTexture(), Curl_EndDownload(), Draw_NewPic(), Mod_Q1BSP_LoadSplitSky(), Mod_Q1BSP_LoadTextures(), Mod_Sprite_SharedSetup(), R_InitParticleTexture(), R_LoadSkyBox(), R_Shadow_MakeTextures_MakeCorona(), and R_SkinFrame_LoadNoTexture().
| skinframe_t * R_SkinFrame_LoadInternalQuake | ( | const char * | name, |
| int | textureflags, | ||
| int | loadpantsandshirt, | ||
| int | loadglowtexture, | ||
| const unsigned char * | skindata, | ||
| int | width, | ||
| int | height | ||
| ) |
Definition at line 2615 of file gl_rmain.c.
Referenced by Mod_IDP0_Load(), Mod_Q1BSP_LoadTextures(), and R_LoadQWSkin().
| skinframe_t * R_SkinFrame_LoadInternalUsingTexture | ( | const char * | name, |
| int | textureflags, | ||
| rtexture_t * | tex, | ||
| int | width, | ||
| int | height, | ||
| qbool | sRGB | ||
| ) |
Definition at line 2839 of file gl_rmain.c.
| skinframe_t * R_SkinFrame_LoadMissing | ( | void | ) |
Definition at line 2803 of file gl_rmain.c.
Referenced by Mod_BuildAliasSkinsFromSkinFiles(), Mod_IDP2_Load(), Mod_IDS2_Load(), Mod_LoadTextureFromQ3Shader(), Mod_Q1BSP_LoadTextures(), Mod_Sprite_SharedSetup(), and Mod_SpriteSetupTexture().
| skinframe_t * R_SkinFrame_LoadNoTexture | ( | void | ) |
Definition at line 2831 of file gl_rmain.c.
| void R_SkinFrame_MarkUsed | ( | skinframe_t * | skinframe | ) |
Definition at line 2175 of file gl_rmain.c.
Referenced by Draw_CachePic_Flags(), Draw_NewPic(), gl_draw_newmap(), mod_newmap(), r_lightningbeams_newmap(), r_part_newmap(), r_shadow_newmap(), and R_SkinFrame_Find().
Definition at line 2167 of file gl_rmain.c.
Referenced by R_Modules_NewMap().
Definition at line 2202 of file gl_rmain.c.
Referenced by R_Modules_NewMap().
| void R_SkinFrame_PurgeSkinFrame | ( | skinframe_t * | s | ) |
Definition at line 2183 of file gl_rmain.c.
Referenced by Draw_CachePic_Flags(), Draw_Frame(), Draw_FreePic(), Draw_NewPic(), Mod_UnloadCustomMaterial(), R_SkinFrame_Find(), R_SkinFrame_Purge(), and R_UnloadSkyBox().
Definition at line 5628 of file gl_rmain.c.
Referenced by R_RenderView().
Definition at line 5606 of file gl_rmain.c.
Referenced by R_SortEntities().
|
static |
Definition at line 6481 of file gl_rmain.c.
Referenced by R_GetCurrentTexture().
|
static |
Definition at line 6433 of file gl_rmain.c.
Referenced by RSurf_PrepareVerticesForBatch().
Definition at line 5404 of file gl_rmain.c.
Referenced by R_ClearScreen(), and R_RenderScene().
Definition at line 5491 of file gl_rmain.c.
Referenced by R_Envmap_f(), and SCR_DrawScreen().
Definition at line 4197 of file gl_rmain.c.
Referenced by R_View_Update().
Definition at line 4382 of file gl_rmain.c.
Referenced by R_RenderView(), and R_Water_ProcessPlanes().
Definition at line 4000 of file gl_rmain.c.
Referenced by R_View_Update().
| void R_Water_AddWaterPlane | ( | msurface_t * | surface, |
| int | entno | ||
| ) |
Definition at line 4648 of file gl_rmain.c.
Referenced by R_Mod_DrawAddWaterPlanes().
|
static |
Definition at line 4765 of file gl_rmain.c.
Referenced by R_RenderWaterPlanes().
Definition at line 4616 of file gl_rmain.c.
Referenced by R_RenderView().
Definition at line 3428 of file gl_rmain.c.
Referenced by CL_Init().
| void RSurf_ActiveCustomEntity | ( | const matrix4x4_t * | matrix, |
| const matrix4x4_t * | inversematrix, | ||
| int | entflags, | ||
| double | shadertime, | ||
| float | r, | ||
| float | g, | ||
| float | b, | ||
| float | a, | ||
| int | numvertices, | ||
| const float * | vertex3f, | ||
| const float * | texcoord2f, | ||
| const float * | normal3f, | ||
| const float * | svector3f, | ||
| const float * | tvector3f, | ||
| const float * | color4f, | ||
| int | numtriangles, | ||
| const int * | element3i, | ||
| const unsigned short * | element3s, | ||
| qbool | wantnormals, | ||
| qbool | wanttangents | ||
| ) |
Definition at line 7182 of file gl_rmain.c.
Referenced by R_DrawCorona(), R_DrawModelDecals_Entity(), R_DrawNoModel_TransparentCallback(), R_Model_Sprite_Draw_TransparentCallback(), R_Shadow_DrawCursor_TransparentCallback(), R_Shadow_DrawLightSprite_TransparentCallback(), R_SkyBox(), and R_SkySphere().
| void RSurf_ActiveModelEntity | ( | const entity_render_t * | ent, |
| qbool | wantnormals, | ||
| qbool | wanttangents, | ||
| qbool | prepass | ||
| ) |
Definition at line 6957 of file gl_rmain.c.
Referenced by R_DecalSystem_SplatEntity(), R_DrawBBoxMesh(), R_DrawModelDecals_Entity(), R_DrawModelSurfaces(), R_DrawParticle_TransparentCallback(), R_DrawSurface_TransparentCallback(), R_Mod_DrawAddWaterPlanes(), R_Mod_GetLightInfo(), R_Shadow_DrawCoronas(), R_Shadow_DrawEntityShadow(), R_Shadow_DrawModelShadowMaps(), R_Shadow_DrawWorldLight(), R_Shadow_DrawWorldShadow_ShadowMap(), and R_Shadow_SetupEntityLight().
Definition at line 8513 of file gl_rmain.c.
Referenced by R_DrawDebugModel(), R_DrawSurface_TransparentCallback(), R_DrawTextureSurfaceList_DepthOnly(), R_DrawTextureSurfaceList_GL20(), R_DrawTextureSurfaceList_ShowSurfaces(), R_DrawTextureSurfaceList_Sky(), R_Mod_DrawShadowMap(), R_Shadow_RenderLighting_Light_GLSL(), and R_Shadow_RenderLighting_VisibleLighting().
|
static |
Definition at line 8572 of file gl_rmain.c.
Referenced by R_DrawTextureSurfaceList_GL20().
Definition at line 7344 of file gl_rmain.c.
Definition at line 7360 of file gl_rmain.c.
Referenced by R_DrawBBoxMesh(), R_DrawModelDecals_Entity(), R_DrawNoModel_TransparentCallback(), and R_DrawParticle_TransparentCallback().
| void RSurf_PrepareVerticesForBatch | ( | int | batchneed, |
| int | texturenumsurfaces, | ||
| const msurface_t ** | texturesurfacelist | ||
| ) |
Definition at line 7424 of file gl_rmain.c.
Referenced by R_DrawDebugModel(), R_DrawSurface_TransparentCallback(), R_DrawTextureSurfaceList_DepthOnly(), R_DrawTextureSurfaceList_ShowSurfaces(), R_DrawTextureSurfaceList_Sky(), R_Mod_DrawShadowMap(), R_SetupShader_Surface(), R_Shadow_RenderLighting_VisibleLighting(), R_Water_AddWaterPlane(), and RSurf_FindWaterPlaneForSurface().
|
static |
Definition at line 7416 of file gl_rmain.c.
Referenced by RSurf_PrepareVerticesForBatch().
Definition at line 8612 of file gl_rmain.c.
Referenced by R_DrawModelTextureSurfaceList(), R_DrawSurface_TransparentCallback(), R_DrawTextureSurfaceList_DepthOnly(), R_DrawTextureSurfaceList_Sky(), and R_Shadow_RenderLighting().
Definition at line 7376 of file gl_rmain.c.
Referenced by R_SetupShader_Surface().
|
static |
Definition at line 1006 of file gl_rmain.c.
Referenced by R_GLSL_CompilePermutation().
Definition at line 968 of file view.c.
Referenced by R_RenderView().
Definition at line 6049 of file gl_rmain.c.
Referenced by R_DrawBBoxMesh().
Definition at line 6038 of file gl_rmain.c.
Referenced by R_DrawBBoxMesh().
Definition at line 596 of file gl_rmain.c.
|
extern |
Definition at line 309 of file cl_particles.c.
Referenced by CL_Particles_Init(), and R_DecalSystem_SplatTriangle().
|
extern |
Definition at line 310 of file cl_particles.c.
Referenced by CL_Particles_Init(), and R_DrawModelDecals_FadeEntity().
|
extern |
Definition at line 308 of file cl_particles.c.
Referenced by CL_Particles_Init(), and R_DecalSystem_SplatEntity().
|
extern |
Definition at line 305 of file cl_particles.c.
Referenced by CL_Particles_Init(), and R_DecalSystem_SplatTriangle().
|
extern |
|
static |
|
extern |
Definition at line 187 of file cl_particles.c.
Referenced by R_DrawModelDecals_Entity(), R_InitParticleTexture(), and r_part_newmap().
| cvar_t developer_texturelogging = {CF_CLIENT, "developer_texturelogging", "0", "produces a textures.log file containing names of skins and map textures the engine tried to load"} |
Definition at line 231 of file gl_rmain.c.
Referenced by GL_Main_Init(), and loadimagepixelsbgra().
| cvar_t gl_fogblue = {CF_CLIENT, "gl_fogblue","0.3", "nehahra fog color blue value (for Nehahra compatibility only)"} |
Definition at line 151 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_UpdateFog().
| cvar_t gl_fogdensity = {CF_CLIENT, "gl_fogdensity", "0.25", "nehahra fog density (recommend values below 0.1) (for Nehahra compatibility only)"} |
Definition at line 148 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_UpdateFog().
| cvar_t gl_fogenable = {CF_CLIENT, "gl_fogenable", "0", "nehahra fog enable (for Nehahra compatibility only)"} |
| cvar_t gl_fogend = {CF_CLIENT, "gl_fogend","0", "nehahra fog end distance (for Nehahra compatibility only)"} |
| cvar_t gl_foggreen = {CF_CLIENT, "gl_foggreen","0.3", "nehahra fog color green value (for Nehahra compatibility only)"} |
Definition at line 150 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_UpdateFog().
| cvar_t gl_fogred = {CF_CLIENT, "gl_fogred","0.3", "nehahra fog color red value (for Nehahra compatibility only)"} |
| cvar_t gl_fogstart = {CF_CLIENT, "gl_fogstart", "0", "nehahra fog start distance (for Nehahra compatibility only)"} |
| cvar_t gl_lightmaps = {CF_CLIENT, "gl_lightmaps", "0", "draws only lightmaps, no texture (for level designers), a value of 2 keeps normalmap shading"} |
Definition at line 233 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_GetCurrentTexture(), and R_SetupShader_Surface().
|
extern |
Definition at line 29 of file gl_textures.c.
| cvar_t gl_skyclip = {CF_CLIENT, "gl_skyclip", "4608", "nehahra farclip distance - the real fog end (for Nehahra compatibility only)"} |
Definition at line 154 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_UpdateFog().
|
static |
Definition at line 4150 of file gl_rmain.c.
Referenced by R_HDR_UpdateIrisAdaptation().
|
extern |
Definition at line 1596 of file cl_screen.c.
Referenced by gl_main_shutdown(), gl_main_start(), SCR_ClearLoadingScreenTexture(), SCR_DrawLoadingScreen(), and SCR_SetLoadingScreenTexture().
Definition at line 9104 of file gl_rmain.c.
Referenced by R_DrawLoc_Callback().
| float locboxvertex3f[6 *4 *3] |
Definition at line 9094 of file gl_rmain.c.
Referenced by R_DrawLoc_Callback().
Definition at line 6214 of file gl_rmain.c.
Referenced by R_DrawNoModel_TransparentCallback().
Definition at line 6180 of file gl_rmain.c.
Referenced by R_DrawNoModel_TransparentCallback().
Definition at line 6192 of file gl_rmain.c.
Referenced by R_DrawNoModel_TransparentCallback().
Definition at line 6204 of file gl_rmain.c.
Referenced by R_DrawNoModel_TransparentCallback().
Definition at line 7423 of file gl_rmain.c.
Referenced by RSurf_PrepareVerticesForBatch().
| cvar_t r_batch_debugdynamicvertexpath = {CF_CLIENT | CF_ARCHIVE, "r_batch_debugdynamicvertexpath", "0", "force the dynamic batching code path for debugging purposes"} |
Definition at line 239 of file gl_rmain.c.
Referenced by GL_Main_Init(), and RSurf_PrepareVerticesForBatch().
| cvar_t r_batch_dynamicbuffer = {CF_CLIENT | CF_ARCHIVE, "r_batch_dynamicbuffer", "0", "use vertex/index buffers for drawing dynamic and copytriangles batches"} |
Definition at line 240 of file gl_rmain.c.
Referenced by GL_Main_Init().
| cvar_t r_batch_multidraw = {CF_CLIENT | CF_ARCHIVE, "r_batch_multidraw", "1", "issue multiple glDrawElements calls when rendering a batch of surfaces with the same texture (otherwise the index data is copied to make it one draw)"} |
Definition at line 237 of file gl_rmain.c.
Referenced by GL_Main_Init(), and RSurf_PrepareVerticesForBatch().
| cvar_t r_batch_multidraw_mintriangles = {CF_CLIENT | CF_ARCHIVE, "r_batch_multidraw_mintriangles", "0", "minimum number of triangles to activate multidraw path (copying small groups of triangles may be faster)"} |
Definition at line 238 of file gl_rmain.c.
Referenced by GL_Main_Init(), and RSurf_PrepareVerticesForBatch().
| cvar_t r_bloom = {CF_CLIENT | CF_ARCHIVE, "r_bloom", "0", "enables bloom effect (makes bright pixels affect neighboring pixels)"} |
Definition at line 208 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_Bloom_StartFrame().
Definition at line 212 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), R_Bloom_MakeTexture(), and R_Bloom_StartFrame().
| cvar_t r_bloom_brighten = {CF_CLIENT | CF_ARCHIVE, "r_bloom_brighten", "1", "how bright the glow is, after subtract/power"} |
Definition at line 211 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_Bloom_MakeTexture().
| cvar_t r_bloom_colorexponent = {CF_CLIENT | CF_ARCHIVE, "r_bloom_colorexponent", "1", "how exaggerated the glow is"} |
Definition at line 214 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_Bloom_MakeTexture().
| cvar_t r_bloom_colorscale = {CF_CLIENT | CF_ARCHIVE, "r_bloom_colorscale", "1", "how bright the glow is"} |
Definition at line 209 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_Bloom_MakeTexture().
| cvar_t r_bloom_colorsubtract = {CF_CLIENT | CF_ARCHIVE, "r_bloom_colorsubtract", "0.1", "reduces bloom colors by a certain amount"} |
Definition at line 215 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_BlendView().
| cvar_t r_bloom_resolution = {CF_CLIENT | CF_ARCHIVE, "r_bloom_resolution", "320", "what resolution to perform the bloom effect at (independent of screen resolution)"} |
Definition at line 213 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_Bloom_StartFrame().
| cvar_t r_bloom_scenebrightness = {CF_CLIENT | CF_ARCHIVE, "r_bloom_scenebrightness", "1", "global rendering brightness when bloom is enabled"} |
Definition at line 216 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_RenderView().
|
static |
Definition at line 3618 of file gl_rmain.c.
Referenced by R_BufferData_NewFrame(), R_BufferData_Reset(), R_BufferData_Resize(), and R_BufferData_Store().
|
static |
Definition at line 3617 of file gl_rmain.c.
Referenced by R_BufferData_NewFrame(), R_BufferData_Resize(), and R_BufferData_Store().
| cvar_t r_buffermegs[R_BUFFERDATA_COUNT] |
Definition at line 249 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_BufferData_Resize().
| cvar_t r_celoutlines = {CF_CLIENT | CF_ARCHIVE, "r_celoutlines", "0", "cartoon-style outlines (requires r_shadow_deferred)"} |
Definition at line 145 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_CompileShader_CheckStaticParms().
| cvar_t r_celshading = {CF_CLIENT | CF_ARCHIVE, "r_celshading", "0", "cartoon-style light shading (OpenGL 2.x only)"} |
Definition at line 144 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_CompileShader_CheckStaticParms().
| cvar_t r_colorfringe = {CF_CLIENT | CF_ARCHIVE, "r_colorfringe", "0", "Chromatic aberration. Values higher than 0.025 will noticeably distort the image"} |
Definition at line 189 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_BlendView(), R_BlendView_IsTrivial(), and R_CompileShader_CheckStaticParms().
|
static |
Definition at line 856 of file gl_rmain.c.
Referenced by R_CompileShader_CheckStaticParms().
| cvar_t r_cullentities_trace = {CF_CLIENT, "r_cullentities_trace", "1", "probabistically cull invisible entities"} |
Definition at line 101 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_View_UpdateEntityVisible().
| cvar_t r_cullentities_trace_delay = {CF_CLIENT, "r_cullentities_trace_delay", "1", "number of seconds until the entity gets actually culled"} |
Definition at line 108 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_View_UpdateEntityVisible().
| cvar_t r_cullentities_trace_enlarge = {CF_CLIENT, "r_cullentities_trace_enlarge", "0", "box enlargement for entity culling"} |
Definition at line 105 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_View_UpdateEntityVisible().
| cvar_t r_cullentities_trace_entityocclusion = {CF_CLIENT, "r_cullentities_trace_entityocclusion", "1", "check for occluding entities such as doors, not just world hull"} |
Definition at line 102 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_CanSeeBox().
| cvar_t r_cullentities_trace_expand = {CF_CLIENT, "r_cullentities_trace_expand", "0", "box expanded by this many units for entity culling"} |
Definition at line 106 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_View_UpdateEntityVisible().
| cvar_t r_cullentities_trace_eyejitter = {CF_CLIENT, "r_cullentities_trace_eyejitter", "16", "randomly offset rays from the eye by this much to reduce the odds of flickering"} |
Definition at line 109 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_View_UpdateEntityVisible().
| cvar_t r_cullentities_trace_pad = {CF_CLIENT, "r_cullentities_trace_pad", "8", "accept traces that hit within this many units of the box"} |
Definition at line 107 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_View_UpdateEntityVisible().
| cvar_t r_cullentities_trace_samples = {CF_CLIENT, "r_cullentities_trace_samples", "2", "number of samples to test for entity culling (in addition to center sample)"} |
Definition at line 103 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_View_UpdateEntityVisible().
| cvar_t r_cullentities_trace_tempentitysamples = {CF_CLIENT, "r_cullentities_trace_tempentitysamples", "-1", "number of samples to test for entity culling of temp entities (including all CSQC entities), -1 disables trace culling on these entities to prevent flicker (pvs still applies)"} |
Definition at line 104 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_View_UpdateEntityVisible().
|
static |
Definition at line 5574 of file gl_rmain.c.
Referenced by R_GetScenePointer(), and R_SelectScene().
| cvar_t r_damageblur = {CF_CLIENT | CF_ARCHIVE, "r_damageblur", "0", "screen motionblur based on damage - value represents intensity, somewhere around 0.5 recommended - NOTE: bad performance on multi-gpu!"} |
Definition at line 60 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_Bloom_StartFrame(), and R_MotionBlurView().
| int r_decalsystem_numqueued = 0 |
Definition at line 9546 of file gl_rmain.c.
Referenced by R_DecalSystem_ApplySplatEntitiesQueue(), and R_DecalSystem_SplatEntities().
| r_decalsystem_splatqueue_t r_decalsystem_queue[MAX_DECALSYSTEM_QUEUE] |
Definition at line 9547 of file gl_rmain.c.
Referenced by R_DecalSystem_ApplySplatEntitiesQueue(), and R_DecalSystem_SplatEntities().
| cvar_t r_deformvertexes = {CF_CLIENT, "r_deformvertexes", "1", "allows use of deformvertexes in shader files (can be turned off to check performance impact)"} |
Definition at line 77 of file gl_rmain.c.
Referenced by GL_Main_Init(), and RSurf_PrepareVerticesForBatch().
| cvar_t r_depthfirst = {CF_CLIENT | CF_ARCHIVE, "r_depthfirst", "0", "renders a depth-only version of the scene before normal rendering begins to eliminate overdraw, values: 0 = off, 1 = world depth, 2 = world and model depth"} |
Definition at line 72 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_RenderScene().
Definition at line 97 of file gl_rmain.c.
Referenced by DrawQ_FlushUI(), DrawQ_String_Scale(), and GL_Main_Init().
|
extern |
Definition at line 2015 of file cl_particles.c.
Referenced by R_DrawModelDecals(), R_Particles_Init(), and R_Water_ProcessPlanes().
| cvar_t r_drawentities = {CF_CLIENT, "r_drawentities","1", "draw entities (doors, players, projectiles, etc)"} |
| cvar_t r_drawexteriormodel = {CF_CLIENT, "r_drawexteriormodel","1", "draw your player model (e.g. in chase cam, reflections)"} |
Definition at line 100 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_View_UpdateEntityVisible().
| cvar_t r_drawfog = {CF_CLIENT | CF_ARCHIVE, "r_drawfog", "1", "allows one to disable fog rendering"} |
|
extern |
Definition at line 2011 of file cl_particles.c.
Referenced by R_DrawParticles(), R_Particles_Init(), and R_Water_ProcessPlanes().
| cvar_t r_drawportals = {CF_CLIENT, "r_drawportals", "0", "shows portals (separating polygons) in world interior in quake1 maps"} |
Definition at line 95 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_RenderScene().
Definition at line 99 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_View_UpdateEntityVisible().
Definition at line 98 of file gl_rmain.c.
Referenced by CL_ClearState(), GL_Main_Init(), VM_CL_R_ClearScene(), and VM_CL_R_SetView().
| cvar_t r_dynamic = {CF_CLIENT | CF_ARCHIVE, "r_dynamic","1", "enables dynamic lights (rocket glow and such)"} |
Definition at line 121 of file gl_rmain.c.
Referenced by CL_RelinkLightFlashes(), GL_Main_Init(), R_UpdateVariables(), and R_Water_ProcessPlanes().
| cvar_t r_farclip_base = {CF_CLIENT, "r_farclip_base", "65536", "farclip (furthest visible distance) for rendering when r_useinfinitefarclip is 0"} |
Definition at line 74 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_UpdateVariables().
| cvar_t r_farclip_world = {CF_CLIENT, "r_farclip_world", "2", "adds map size to farclip multiplied by this value"} |
| r_framebufferstate_t r_fb |
Definition at line 265 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_BlendView(), R_BlendView_IsTrivial(), R_Bloom_MakeTexture(), R_Bloom_StartFrame(), R_DrawTextureSurfaceList_DepthOnly(), R_DrawTextureSurfaceList_GL20(), R_GetCurrentTexture(), R_Mod_DrawLight(), R_Model_Sprite_Draw_TransparentCallback(), R_MotionBlurView(), R_RenderTarget_FreeUnused(), R_RenderTarget_Get(), R_RenderView(), R_RenderWaterPlanes(), R_SetupShader_DeferredLight(), R_SetupShader_Surface(), R_Shadow_DrawCoronas(), R_Shadow_MakeShadowMap(), R_Shadow_PrepareLights(), R_Shadow_SetShadowMode(), R_View_UpdateEntityVisible(), R_Water_AddWaterPlane(), R_Water_ProcessPlanes(), R_Water_StartFrame(), and RSurf_FindWaterPlaneForSurface().
| cvar_t r_fog_clear = {CF_CLIENT, "r_fog_clear", "1", "clears renderbuffer with fog color before render starts"} |
| cvar_t r_fog_exp2 = {CF_CLIENT, "r_fog_exp2", "0", "uses GL_EXP2 fog (as in Nehahra) rather than realistic GL_EXP fog"} |
Definition at line 137 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_BuildFogTexture(), and R_UpdateFog().
|
static |
Definition at line 3499 of file gl_rmain.c.
Referenced by R_FrameData_Alloc(), R_FrameData_NewFrame(), R_FrameData_Reset(), R_FrameData_Resize(), R_FrameData_ReturnToMark(), and R_FrameData_SetMark().
| cvar_t r_framedatasize = {CF_CLIENT | CF_ARCHIVE, "r_framedatasize", "0.5", "size of renderer data cache used during one frame (for skeletal animation caching, light processing, etc)"} |
Definition at line 248 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_FrameData_Alloc(), and R_FrameData_Resize().
Definition at line 112 of file gl_rmain.c.
Referenced by CL_RelinkStaticEntities(), CL_RelinkWorld(), CL_UpdateEntityShading_Entity(), CL_UpdateNetworkEntity(), CSQC_AddRenderEdict(), GL_Main_Init(), RSurf_ActiveModelEntity(), and VM_CL_makestatic().
| cvar_t r_fullbright_directed = {CF_CLIENT, "r_fullbright_directed", "0", "render fullbright things (unlit worldmodel and EF_FULLBRIGHT entities, but not fullbright shaders) using a constant light direction instead to add more depth while keeping uniform brightness"} |
Definition at line 114 of file gl_rmain.c.
Referenced by CL_UpdateEntityShading_Entity(), GL_Main_Init(), and RSurf_ActiveModelEntity().
| cvar_t r_fullbright_directed_ambient = {CF_CLIENT, "r_fullbright_directed_ambient", "0.5", "ambient light multiplier for directed fullbright"} |
Definition at line 115 of file gl_rmain.c.
Referenced by CL_UpdateEntityShading_GetDirectedFullbright(), and GL_Main_Init().
| cvar_t r_fullbright_directed_diffuse = {CF_CLIENT, "r_fullbright_directed_diffuse", "0.75", "diffuse light multiplier for directed fullbright"} |
Definition at line 116 of file gl_rmain.c.
Referenced by CL_UpdateEntityShading_GetDirectedFullbright(), and GL_Main_Init().
| cvar_t r_fullbright_directed_pitch = {CF_CLIENT, "r_fullbright_directed_pitch", "20", "constant pitch direction ('height') of the fake light source to use for fullbright"} |
Definition at line 117 of file gl_rmain.c.
Referenced by CL_UpdateEntityShading_GetDirectedFullbright(), and GL_Main_Init().
| cvar_t r_fullbright_directed_pitch_relative = {CF_CLIENT, "r_fullbright_directed_pitch_relative", "0", "whether r_fullbright_directed_pitch is interpreted as absolute (0) or relative (1) pitch"} |
Definition at line 118 of file gl_rmain.c.
Referenced by CL_UpdateEntityShading_GetDirectedFullbright(), and GL_Main_Init().
| cvar_t r_fullbrights = {CF_CLIENT | CF_ARCHIVE, "r_fullbrights", "1", "enables glowing pixels in quake textures (changes need r_restart to take effect)"} |
Definition at line 122 of file gl_rmain.c.
Referenced by GL_Main_Init(), Mod_IDP0_Load(), Mod_Q1BSP_LoadTextures(), and R_LoadQWSkin().
| cvar_t r_fxaa = {CF_CLIENT | CF_ARCHIVE, "r_fxaa", "0", "fast approximate anti aliasing"} |
Definition at line 190 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_BlendView_IsTrivial(), and R_CompileShader_CheckStaticParms().
| cvar_t r_glsl_deluxemapping = {CF_CLIENT | CF_ARCHIVE, "r_glsl_deluxemapping", "1", "use per pixel lighting on deluxemap-compiled q3bsp maps (or a value of 2 forces deluxemap shading even without deluxemaps)"} |
Definition at line 171 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_SetupShader_Surface().
| cvar_t r_glsl_offsetmapping = {CF_CLIENT | CF_ARCHIVE, "r_glsl_offsetmapping", "0", "offset mapping effect (also known as parallax mapping or virtual displacement mapping)"} |
Definition at line 172 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_SetupShader_Surface().
| cvar_t r_glsl_offsetmapping_lod = {CF_CLIENT | CF_ARCHIVE, "r_glsl_offsetmapping_lod", "0", "apply distance-based level-of-detail correction to number of offsetmappig steps, effectively making it render faster on large open-area maps"} |
Definition at line 178 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_CompileShader_CheckStaticParms().
| cvar_t r_glsl_offsetmapping_lod_distance = {CF_CLIENT | CF_ARCHIVE, "r_glsl_offsetmapping_lod_distance", "32", "first LOD level distance, second level (-50% steps) is 2x of this, third (33%) - 3x etc."} |
Definition at line 179 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_CompileShader_CheckStaticParms(), and R_SetupShader_Surface().
| cvar_t r_glsl_offsetmapping_reliefmapping = {CF_CLIENT | CF_ARCHIVE, "r_glsl_offsetmapping_reliefmapping", "0", "relief mapping effect (higher quality)"} |
Definition at line 174 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_SetupShader_Surface().
| cvar_t r_glsl_offsetmapping_reliefmapping_refinesteps = {CF_CLIENT | CF_ARCHIVE, "r_glsl_offsetmapping_reliefmapping_refinesteps", "5", "relief mapping refine steps (these are a binary search executed as the last step as given by r_glsl_offsetmapping_reliefmapping_steps)"} |
Definition at line 176 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_SetupShader_Surface().
| cvar_t r_glsl_offsetmapping_reliefmapping_steps = {CF_CLIENT | CF_ARCHIVE, "r_glsl_offsetmapping_reliefmapping_steps", "10", "relief mapping steps (note: too high values may be not supported by your GPU)"} |
Definition at line 175 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_SetupShader_Surface().
| cvar_t r_glsl_offsetmapping_scale = {CF_CLIENT | CF_ARCHIVE, "r_glsl_offsetmapping_scale", "0.04", "how deep the offset mapping effect is"} |
Definition at line 177 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_SetupShader_Surface().
| cvar_t r_glsl_offsetmapping_steps = {CF_CLIENT | CF_ARCHIVE, "r_glsl_offsetmapping_steps", "2", "offset mapping steps (note: too high values may be not supported by your GPU)"} |
Definition at line 173 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_SetupShader_Surface().
| r_glsl_permutation_t* r_glsl_permutation |
currently selected permutation
Definition at line 936 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_BlendView(), R_EntityMatrix(), R_GLSL_Restart_f(), R_SetupShader_DeferredLight(), R_SetupShader_DepthOrShadow(), R_SetupShader_Generic(), R_SetupShader_SetPermutationGLSL(), and R_SetupShader_Surface().
| memexpandablearray_t r_glsl_permutationarray |
storage for permutations linked in the hash table
Definition at line 938 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_GLSL_FindPermutation(), and R_GLSL_Restart_f().
| r_glsl_permutation_t* r_glsl_permutationhash[SHADERMODE_COUNT][SHADERPERMUTATION_HASHSIZE] |
information about each possible shader permutation
Definition at line 934 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_GLSL_FindPermutation(), and R_GLSL_Restart_f().
| cvar_t r_glsl_postprocess = {CF_CLIENT | CF_ARCHIVE, "r_glsl_postprocess", "0", "use a GLSL postprocessing shader"} |
Definition at line 180 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_BlendView(), R_BlendView_IsTrivial(), and R_CompileShader_CheckStaticParms().
| cvar_t r_glsl_postprocess_uservec1 = {CF_CLIENT | CF_ARCHIVE, "r_glsl_postprocess_uservec1", "0 0 0 0", "a 4-component vector to pass as uservec1 to the postprocessing shader (only useful if default.glsl has been customized)"} |
Definition at line 181 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_BlendView().
| cvar_t r_glsl_postprocess_uservec1_enable = {CF_CLIENT | CF_ARCHIVE, "r_glsl_postprocess_uservec1_enable", "1", "enables postprocessing uservec1 usage, creates USERVEC1 define (only useful if default.glsl has been customized)"} |
Definition at line 185 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_BlendView(), and R_CompileShader_CheckStaticParms().
| cvar_t r_glsl_postprocess_uservec2 = {CF_CLIENT | CF_ARCHIVE, "r_glsl_postprocess_uservec2", "0 0 0 0", "a 4-component vector to pass as uservec2 to the postprocessing shader (only useful if default.glsl has been customized)"} |
Definition at line 182 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_BlendView().
| cvar_t r_glsl_postprocess_uservec2_enable = {CF_CLIENT | CF_ARCHIVE, "r_glsl_postprocess_uservec2_enable", "1", "enables postprocessing uservec2 usage, creates USERVEC1 define (only useful if default.glsl has been customized)"} |
Definition at line 186 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_BlendView(), and R_CompileShader_CheckStaticParms().
| cvar_t r_glsl_postprocess_uservec3 = {CF_CLIENT | CF_ARCHIVE, "r_glsl_postprocess_uservec3", "0 0 0 0", "a 4-component vector to pass as uservec3 to the postprocessing shader (only useful if default.glsl has been customized)"} |
Definition at line 183 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_BlendView().
| cvar_t r_glsl_postprocess_uservec3_enable = {CF_CLIENT | CF_ARCHIVE, "r_glsl_postprocess_uservec3_enable", "1", "enables postprocessing uservec3 usage, creates USERVEC1 define (only useful if default.glsl has been customized)"} |
Definition at line 187 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_BlendView(), and R_CompileShader_CheckStaticParms().
| cvar_t r_glsl_postprocess_uservec4 = {CF_CLIENT | CF_ARCHIVE, "r_glsl_postprocess_uservec4", "0 0 0 0", "a 4-component vector to pass as uservec4 to the postprocessing shader (only useful if default.glsl has been customized)"} |
Definition at line 184 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_BlendView().
| cvar_t r_glsl_postprocess_uservec4_enable = {CF_CLIENT | CF_ARCHIVE, "r_glsl_postprocess_uservec4_enable", "1", "enables postprocessing uservec4 usage, creates USERVEC1 define (only useful if default.glsl has been customized)"} |
Definition at line 188 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_BlendView(), and R_CompileShader_CheckStaticParms().
| cvar_t r_glsl_saturation = {CF_CLIENT | CF_ARCHIVE, "r_glsl_saturation", "1", "saturation multiplier (only working in glsl!)"} |
Definition at line 242 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_BlendView(), and R_BlendView_IsTrivial().
| cvar_t r_glsl_saturation_redcompensate = {CF_CLIENT | CF_ARCHIVE, "r_glsl_saturation_redcompensate", "0", "a 'vampire sight' addition to desaturation effect, does compensation for red color, r_glsl_restart is required"} |
Definition at line 243 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_CompileShader_CheckStaticParms().
| cvar_t r_glsl_skeletal = {CF_CLIENT | CF_ARCHIVE, "r_glsl_skeletal", "1", "render skeletal models faster using a gpu-skinning technique"} |
Definition at line 170 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_UpdateVariables().
| cvar_t r_glsl_vertextextureblend_usebothalphas = {CF_CLIENT | CF_ARCHIVE, "r_glsl_vertextextureblend_usebothalphas", "0", "use both alpha layers on vertex blended surfaces, each alpha layer sets amount of 'blend leak' on another layer, requires mod_q3shader_force_terrain_alphaflag on."} |
Definition at line 245 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_CompileShader_CheckStaticParms().
|
static |
Definition at line 52 of file gl_rmain.c.
Referenced by R_AnimCache_GetEntity(), and R_UpdateVariables().
| cvar_t r_hdr_glowintensity = {CF_CLIENT | CF_ARCHIVE, "r_hdr_glowintensity", "1", "how bright light emitting textures should appear"} |
Definition at line 219 of file gl_rmain.c.
Referenced by CL_UpdateEntityShading_Entity(), GL_Main_Init(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Graphics_Draw(), and R_SetupShader_Surface().
| cvar_t r_hdr_irisadaptation = {CF_CLIENT | CF_ARCHIVE, "r_hdr_irisadaptation", "0", "adjust scene brightness according to light intensity at player location"} |
Definition at line 220 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_HDR_UpdateIrisAdaptation().
| cvar_t r_hdr_irisadaptation_fade_down = {CF_CLIENT | CF_ARCHIVE, "r_hdr_irisadaptation_fade_down", "0.5", "fade rate at which value adjusts to brightness"} |
Definition at line 226 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_HDR_UpdateIrisAdaptation().
| cvar_t r_hdr_irisadaptation_fade_up = {CF_CLIENT | CF_ARCHIVE, "r_hdr_irisadaptation_fade_up", "0.1", "fade rate at which value adjusts to darkness"} |
Definition at line 225 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_HDR_UpdateIrisAdaptation().
| cvar_t r_hdr_irisadaptation_maxvalue = {CF_CLIENT | CF_ARCHIVE, "r_hdr_irisadaptation_maxvalue", "4", "maximum value that can result from multiplier / brightness"} |
Definition at line 223 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_HDR_UpdateIrisAdaptation().
| cvar_t r_hdr_irisadaptation_minvalue = {CF_CLIENT | CF_ARCHIVE, "r_hdr_irisadaptation_minvalue", "0.5", "minimum value that can result from multiplier / brightness"} |
Definition at line 222 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_HDR_UpdateIrisAdaptation().
| cvar_t r_hdr_irisadaptation_multiplier = {CF_CLIENT | CF_ARCHIVE, "r_hdr_irisadaptation_multiplier", "2", "brightness at which value will be 1.0"} |
Definition at line 221 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_HDR_UpdateIrisAdaptation().
| cvar_t r_hdr_irisadaptation_radius = {CF_CLIENT | CF_ARCHIVE, "r_hdr_irisadaptation_radius", "15", "lighting within this many units of the eye is averaged"} |
Definition at line 227 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_HDR_UpdateIrisAdaptation().
| cvar_t r_hdr_irisadaptation_value = {CF_CLIENT, "r_hdr_irisadaptation_value", "1", "current value as scenebrightness multiplier, changes continuously when irisadaptation is active"} |
Definition at line 224 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_HDR_UpdateIrisAdaptation(), and R_RenderView().
| cvar_t r_hdr_scenebrightness = {CF_CLIENT | CF_ARCHIVE, "r_hdr_scenebrightness", "1", "global rendering brightness"} |
Definition at line 218 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_AdjustSliders(), M_Menu_Options_Graphics_AdjustSliders(), M_Options_Draw(), M_Options_Graphics_Draw(), and R_RenderView().
| cvar_t r_lerplightstyles = {CF_CLIENT | CF_ARCHIVE, "r_lerplightstyles", "0", "enable animation smoothing on flickering lights"} |
Definition at line 205 of file gl_rmain.c.
Referenced by CL_RelinkLightFlashes(), GL_Main_Init(), M_Menu_Options_Effects_AdjustSliders(), and M_Options_Effects_Draw().
| cvar_t r_lerpmodels = {CF_CLIENT | CF_ARCHIVE, "r_lerpmodels", "1", "enables animation smoothing on models"} |
Definition at line 203 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), and VM_FrameBlendFromFrameGroupBlend().
| cvar_t r_lerpsprites = {CF_CLIENT | CF_ARCHIVE, "r_lerpsprites", "0", "enables animation smoothing on sprites"} |
Definition at line 202 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), and VM_FrameBlendFromFrameGroupBlend().
|
static |
Definition at line 50 of file gl_rmain.c.
Referenced by gl_main_start(), and R_SkinFrame_LoadExternal_SkinFrame().
| qbool r_loadfog |
Definition at line 49 of file gl_rmain.c.
Referenced by gl_main_start(), R_SkinFrame_LoadExternal_SkinFrame(), R_SkinFrame_LoadInternal8bit(), and R_SkinFrame_LoadInternalBGRA().
|
static |
Definition at line 48 of file gl_rmain.c.
Referenced by gl_main_start(), and R_SkinFrame_LoadExternal_SkinFrame().
|
static |
Definition at line 47 of file gl_rmain.c.
Referenced by gl_main_start(), R_SkinFrame_LoadExternal_SkinFrame(), and R_SkinFrame_LoadInternalBGRA().
|
extern |
Definition at line 29 of file gl_rsurf.c.
Referenced by GL_Surf_Init(), R_View_WorldVisibility(), and R_Water_StartFrame().
|
extern |
Definition at line 30 of file gl_rsurf.c.
Referenced by GL_Surf_Init(), R_View_SetFrustum(), R_View_WorldVisibility(), and R_Water_StartFrame().
| mempool_t* r_main_mempool |
Definition at line 42 of file gl_rmain.c.
Referenced by CL_Beams_SetupBuiltinTexture(), CL_Beams_SetupExternalTexture(), gl_backend_start(), GL_Main_Init(), gl_main_start(), R_BufferData_Resize(), R_BuildFogHeightTexture(), R_DrawModelSurfaces(), R_FrameData_Resize(), R_GetCubemap(), R_GetCurrentTexture(), R_InitShaderModeInfo(), R_Main_ResizeViewCache(), R_Mod_CompileShadowMap(), R_RTLight_Compile(), R_ShaderStrCat(), R_Shadow_BounceGrid_ConvertPixelsAndUpload(), R_Shadow_EnlargeLeafSurfaceTrisBuffer(), R_Shadow_Init(), R_Shadow_PrepareLights_AddSceneLight(), R_Shadow_PrepareShadowMark(), R_Shadow_PrepareShadowSides(), R_Shadow_ResizeShadowArrays(), R_Shadow_SetShadowMode(), R_Shadow_UpdateBounceGridTexture(), R_SkinFrame_LoadInternalQuake(), and ShaderModeInfo_GetShaderText().
| rtexturepool_t* r_main_texturepool |
Definition at line 43 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_Bloom_StartFrame(), R_BuildBlankTextures(), R_BuildFogHeightTexture(), R_BuildFogTexture(), R_BuildNormalizationCube(), R_BuildNoTexture(), R_BuildWhiteCube(), R_LoadCubemap(), R_RenderTarget_Get(), R_SkinFrame_GenerateTexturesFromQPixels(), R_SkinFrame_LoadExternal_SkinFrame(), R_SkinFrame_LoadInternal8bit(), R_SkinFrame_LoadInternalBGRA(), R_UpdateVariables(), and SCR_SetLoadingScreenTexture().
Definition at line 299 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_BeginCoronaQuery(), and R_Shadow_DrawCoronas().
| int r_maxsurfacelist = 0 |
Definition at line 10032 of file gl_rmain.c.
Referenced by R_DrawModelSurfaces().
| cvar_t r_motionblur = {CF_CLIENT | CF_ARCHIVE, "r_motionblur", "0", "screen motionblur - value represents intensity, somewhere around 0.5 recommended - NOTE: bad performance on multi-gpu!"} |
Definition at line 59 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_Bloom_StartFrame(), and R_MotionBlurView().
| cvar_t r_motionblur_averaging = {CF_CLIENT | CF_ARCHIVE, "r_motionblur_averaging", "0.1", "sliding average reaction time for velocity (higher = slower adaption to change)"} |
Definition at line 61 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_MotionBlurView().
| cvar_t r_motionblur_maxblur = {CF_CLIENT | CF_ARCHIVE, "r_motionblur_maxblur", "0.9", "maxmimum amount of blur"} |
| cvar_t r_motionblur_minblur = {CF_CLIENT | CF_ARCHIVE, "r_motionblur_minblur", "0.5", "factor of blur to apply at all times (always have this amount of blur no matter what the other factors are)"} |
Definition at line 63 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_MotionBlurView().
| cvar_t r_motionblur_mousefactor = {CF_CLIENT | CF_ARCHIVE, "r_motionblur_mousefactor", "2", "factoring in of mouse acceleration to the blur equation - the faster the player turns their mouse, the more blur they get"} |
Definition at line 68 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_MotionBlurView().
| cvar_t r_motionblur_mousefactor_maxspeed = {CF_CLIENT | CF_ARCHIVE, "r_motionblur_mousefactor_maxspeed", "50", "upper value of mouse acceleration when it reaches the peak factor into blur equation"} |
Definition at line 70 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_MotionBlurView().
| cvar_t r_motionblur_mousefactor_minspeed = {CF_CLIENT | CF_ARCHIVE, "r_motionblur_mousefactor_minspeed", "0", "lower value of mouse acceleration when it starts to factor into blur equation"} |
Definition at line 69 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_MotionBlurView().
| cvar_t r_motionblur_randomize = {CF_CLIENT | CF_ARCHIVE, "r_motionblur_randomize", "0.1", "randomizing coefficient to workaround ghosting"} |
Definition at line 62 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_MotionBlurView().
| cvar_t r_motionblur_velocityfactor = {CF_CLIENT | CF_ARCHIVE, "r_motionblur_velocityfactor", "1", "factoring in of player velocity to the blur equation - the faster the player moves around the map, the more blur they get"} |
Definition at line 65 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_MotionBlurView().
| cvar_t r_motionblur_velocityfactor_maxspeed = {CF_CLIENT | CF_ARCHIVE, "r_motionblur_velocityfactor_maxspeed", "800", "upper value of velocity when it reaches the peak factor into blur equation"} |
Definition at line 67 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_MotionBlurView().
| cvar_t r_motionblur_velocityfactor_minspeed = {CF_CLIENT | CF_ARCHIVE, "r_motionblur_velocityfactor_minspeed", "400", "lower value of velocity when it starts to factor into blur equation"} |
Definition at line 66 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_MotionBlurView().
Definition at line 76 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_UpdateVariables(), and R_View_WorldVisibility().
| cvar_t r_nolerp_list = {CF_CLIENT | CF_ARCHIVE, "r_nolerp_list", "progs/v_nail.mdl,progs/v_nail2.mdl,progs/flame.mdl,progs/flame2.mdl,progs/braztall.mdl,progs/brazshrt.mdl,progs/longtrch.mdl,progs/flame_pyre.mdl,progs/v_saw.mdl,progs/v_xfist.mdl,progs/h2stuff/newfire.mdl", "comma separated list of models that will not have their animations smoothed"} |
Definition at line 204 of file gl_rmain.c.
Referenced by GL_Main_Init(), and Mod_IDP0_Load().
Definition at line 298 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_BeginCoronaQuery(), and R_Shadow_DrawCoronas().
| cvar_t r_polygonoffset_decals_factor = {CF_CLIENT, "r_polygonoffset_decals_factor", "0", "biases depth values of decals to prevent z-fighting artifacts"} |
Definition at line 135 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_DrawModelDecals_Entity().
| cvar_t r_polygonoffset_decals_offset = {CF_CLIENT, "r_polygonoffset_decals_offset", "-14", "biases depth values of decals to prevent z-fighting artifacts"} |
Definition at line 136 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_DrawModelDecals_Entity().
| cvar_t r_polygonoffset_submodel_factor = {CF_CLIENT, "r_polygonoffset_submodel_factor", "0", "biases depth values of world submodels such as doors, to prevent z-fighting artifacts in Quake maps"} |
Definition at line 133 of file gl_rmain.c.
Referenced by GL_Main_Init(), and RSurf_ActiveModelEntity().
| cvar_t r_polygonoffset_submodel_offset = {CF_CLIENT, "r_polygonoffset_submodel_offset", "14", "biases depth values of world submodels such as doors, to prevent z-fighting artifacts in Quake maps"} |
Definition at line 134 of file gl_rmain.c.
Referenced by GL_Main_Init(), and RSurf_ActiveModelEntity().
| cvar_t r_q1bsp_lightmap_updates_combine = {CF_CLIENT | CF_ARCHIVE, "r_q1bsp_lightmap_updates_combine", "2", "combine lightmap texture updates to make fewer glTexSubImage2D calls, modes: 0 = immediately upload lightmaps (may be thousands of small 3x3 updates), 1 = combine to one call, 2 = combine to one full texture update (glTexImage2D) which tells the driver it does not need to lock the resource (faster on most drivers)"} |
Definition at line 258 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_BuildLightMap(), and R_DrawModelSurfaces().
| cvar_t r_q1bsp_lightmap_updates_enabled = {CF_CLIENT | CF_ARCHIVE, "r_q1bsp_lightmap_updates_enabled", "1", "allow lightmaps to be updated on Q1BSP maps (don't turn this off except for debugging)"} |
Definition at line 257 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_DrawModelSurfaces().
| cvar_t r_q1bsp_lightmap_updates_hidden_surfaces = {CF_CLIENT | CF_ARCHIVE, "r_q1bsp_lightmap_updates_hidden_surfaces", "0", "update lightmaps on surfaces that are not visible, so that updates only occur on frames where lightstyles changed value (animation or light switches), only makes sense with combine = 2"} |
Definition at line 259 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_DrawModelSurfaces().
| cvar_t r_q1bsp_skymasking = {CF_CLIENT, "r_q1bsp_skymasking", "1", "allows sky polygons in quake1 maps to obscure other geometry"} |
Definition at line 132 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_DrawTextureSurfaceList_Sky().
| unsigned int r_queries[MAX_OCCLUSION_QUERIES] |
Definition at line 297 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_BeginCoronaQuery(), and R_Shadow_DrawCoronas().
|
static |
Definition at line 308 of file gl_rmain.c.
Referenced by gl_main_newmap(), gl_main_shutdown(), gl_main_start(), and R_GetCurrentTexture().
|
static |
Definition at line 309 of file gl_rmain.c.
Referenced by gl_main_newmap(), gl_main_shutdown(), gl_main_start(), and R_GetCurrentTexture().
| r_refdef_t r_refdef |
Definition at line 57 of file gl_rmain.c.
Referenced by CL_Beam_AddPolygons(), CL_Beam_CalculatePositions(), CL_ClearTempEntities(), CL_ExpandCSQCRenderEntities(), CL_Fog_f(), CL_Fog_HeightTexture_f(), CL_Frame(), CL_GetEntityMatrix(), CL_GetTagMatrix(), CL_Init(), CL_LinkNetworkEntity(), CL_Locs_RemoveNearest_f(), CL_MeshEntities_Scene_AddRenderEntity(), CL_NewParticlesFromEffectinfo(), CL_NewTempEntity(), CL_ParseEntityLump(), CL_ParticleEffect_Fallback(), CL_RelinkBeams(), CL_RelinkLightFlashes(), CL_RelinkStaticEntities(), CL_RelinkWorld(), CL_TimeRefresh_f(), CL_UpdateEntityShading(), CL_UpdateEntityShading_Entity(), CL_UpdatePrydonCursor(), CL_UpdateScreen(), CL_UpdateWorld(), CL_VM_UpdateView(), Collision_Cache_Lookup(), CSQC_AddRenderEdict(), CSQC_R_RecalcView(), DrawQ_Finish(), DrawQ_FlushUI(), DrawQ_RecalcView(), DrawQ_SetClipArea(), DrawQ_Start(), FOG_clear(), gl_main_start(), Mod_BSP_LightPoint_RecursiveBSPNode(), Mod_Mesh_Finalize(), MP_Draw(), R_AnimCache_CacheVisibleEntities(), R_AnimCache_ClearCache(), R_AnimCache_GetEntity(), R_BeginCoronaQuery(), R_BlendView(), R_BlendView_IsTrivial(), R_Bloom_MakeTexture(), R_Bloom_StartFrame(), R_BufferData_Store(), R_BuildFogHeightTexture(), R_BuildFogTexture(), R_BuildLightMap(), R_CalcBeam_Vertex3f(), R_CanSeeBox(), R_ClearScreen(), R_CompleteLightPoint(), R_CullFrustum(), R_DebugLine(), R_DecalSystem_ApplySplatEntities(), R_DrawBBoxMesh(), R_DrawBrushModelsSky(), R_DrawCorona(), R_DrawDebugModel(), R_DrawExplosion_TransparentCallback(), R_DrawLoc_Callback(), R_DrawModelDecals(), R_DrawModelDecals_Entity(), R_DrawModelDecals_FadeEntity(), R_DrawModels(), R_DrawModelsAddWaterPlanes(), R_DrawModelsDebug(), R_DrawModelsDepth(), R_DrawModelSurfaces(), R_DrawModelTextureSurfaceList(), R_DrawNoModel_TransparentCallback(), R_DrawParticle_TransparentCallback(), R_DrawParticles(), R_DrawPortal_Callback(), R_DrawPortals(), R_DrawSurface_TransparentCallback(), R_DrawTextureSurfaceList_ShowSurfaces(), R_DrawTextureSurfaceList_Sky(), R_Envmap_f(), R_FrameData_Alloc(), R_GetCurrentTexture(), R_GetScenePointer(), R_HDR_UpdateIrisAdaptation(), R_ListWorldTextures_f(), R_Main_FreeViewCache(), R_Main_ResizeViewCache(), R_Mesh_Draw(), R_Mesh_UpdateMeshBuffer(), R_MeshQueue_AddTransparent(), R_MeshQueue_BeginScene(), R_Mod_DrawAddWaterPlanes(), R_Mod_DrawDepth(), R_Mod_DrawLight(), R_Mod_DrawShadowMap(), R_Mod_GetLightInfo(), R_Model_Sprite_Draw_TransparentCallback(), R_MotionBlurView(), R_ProcessTransparentTextureSurfaceList(), R_RenderScene(), R_RenderTarget_Get(), R_RenderView(), R_RenderView_UpdateViewVectors(), R_RenderWaterPlanes(), R_ReplaceWorldTexture_f(), R_ResetViewRendering2D_Common(), R_ResetViewRendering3D(), R_RTLight_Compile(), R_ScissorForBBox(), R_SelectScene(), R_SetupShader_DeferredLight(), R_SetupShader_Surface(), R_SetupView(), R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_BounceGrid_CheckEnable(), R_Shadow_BounceGrid_UpdateSpacing(), R_Shadow_ClearShadowMapTexture(), R_Shadow_ClearStencil(), R_Shadow_ComputeShadowCasterCullingPlanes(), R_Shadow_CullFrustumSides(), R_Shadow_DrawCoronas(), R_Shadow_DrawCursor_TransparentCallback(), R_Shadow_DrawLight(), R_Shadow_DrawLightShadowMaps(), R_Shadow_DrawLightSprite_TransparentCallback(), R_Shadow_DrawModelShadowMaps(), R_Shadow_DrawPrepass(), R_Shadow_DrawShadowMaps(), R_Shadow_DrawWorldLight(), R_Shadow_DrawWorldShadow_ShadowMap(), R_Shadow_PrepareLight(), R_Shadow_PrepareLights(), R_Shadow_PrepareModelShadows(), R_Shadow_RenderMode_Begin(), R_Shadow_RenderMode_DrawDeferredLight(), R_Shadow_RenderMode_End(), R_Shadow_RenderMode_Lighting(), R_Shadow_RenderMode_Reset(), R_Shadow_RenderMode_ShadowMap(), R_Shadow_RenderMode_VisibleLighting(), R_Shadow_ScissorForBBox(), R_Shadow_SelectLightInView(), R_Shadow_SetCursorLocationForView(), R_Shadow_UpdateBounceGridTexture(), R_Sky(), R_SkySphere(), R_SkyStartFrame(), R_SortEntities(), R_Stain(), R_TimeReport_BeginFrame(), R_TimeReport_EndFrame(), R_TrackSprite(), R_UpdateFog(), R_UpdateVariables(), R_View_SetFrustum(), R_View_Update(), R_View_UpdateEntityVisible(), R_View_WorldVisibility(), R_View_WorldVisibility_CullSurfaces(), R_Water_AddWaterPlane(), R_Water_ProcessPlanes(), RSurf_ActiveCustomEntity(), RSurf_ActiveModelEntity(), RSurf_DrawBatch(), RSurf_FogPoint(), RSurf_FogVertex(), RSurf_PrepareVerticesForBatch(), RSurf_SetupDepthAndCulling(), Sbar_ShowFPS(), SCR_DrawScreen(), V_CalcIntermissionRefdef(), V_CalcRefdef(), V_CalcRefdefUsing(), V_CalcViewBlend(), V_MakeViewIsometric(), VM_CL_getlight(), VM_CL_project(), VM_CL_R_AddDynamicLight(), VM_CL_R_ClearScene(), VM_CL_R_RenderScene(), VM_CL_R_SetView(), and VM_CL_unproject().
| cvar_t r_rendertarget_debug = {CF_CLIENT, "r_rendertarget_debug", "-1", "replaces the view with the contents of the specified render target (by number - note that these can fluctuate depending on scene)"} |
Definition at line 161 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_BlendView().
|
static |
Definition at line 51 of file gl_rmain.c.
Referenced by gl_main_start(), and R_SkinFrame_LoadExternal_SkinFrame().
|
static |
Definition at line 5575 of file gl_rmain.c.
Referenced by R_GetScenePointer(), and R_SelectScene().
vertex coordinates for a quad that covers the screen exactly
Definition at line 313 of file gl_rmain.c.
Referenced by R_BlendView(), R_Bloom_MakeTexture(), and R_MotionBlurView().
|
extern |
Definition at line 198 of file r_shadow.c.
Referenced by R_Shadow_BounceGrid_AssignPhotons_Task(), R_Shadow_BounceGrid_CheckEnable(), R_Shadow_BounceGrid_GenerateSettings(), R_Shadow_Init(), and R_Shadow_PrepareLight().
Definition at line 136 of file r_shadow.c.
Referenced by gl_main_shutdown(), and R_DrawCorona().
|
extern |
Definition at line 121 of file r_shadow.c.
Referenced by R_SetupShader_Surface().
|
extern |
Definition at line 122 of file r_shadow.c.
Referenced by R_SetupShader_Surface().
|
extern |
Definition at line 69 of file r_shadow.c.
Referenced by R_RenderScene(), R_Shadow_DrawModelShadowMaps(), R_Shadow_DrawShadowMaps(), R_Shadow_PrepareLights(), and R_Shadow_PrepareModelShadows().
|
extern |
Definition at line 60 of file r_shadow.c.
Referenced by R_CompileShader_CheckStaticParms(), R_Shadow_SetShadowMode(), and r_shadow_start().
|
extern |
Definition at line 58 of file r_shadow.c.
Referenced by R_CompileShader_CheckStaticParms(), R_Shadow_MakeShadowMap(), R_Shadow_SetShadowMode(), and r_shadow_start().
|
extern |
Definition at line 64 of file r_shadow.c.
Referenced by R_ProcessModelTextureSurfaceList(), R_RenderScene(), and R_SetupShader_Surface().
| cvar_t r_shadows = {CF_CLIENT | CF_ARCHIVE, "r_shadows", "0", "casts fake stencil shadows from models onto the world (rtlights are unaffected by this); when set to 2, always cast the shadows in the direction set by r_shadows_throwdirection, otherwise use the model lighting."} |
Definition at line 123 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_Shadow_PrepareModelShadows(), and R_Water_ProcessPlanes().
| cvar_t r_shadows_castfrombmodels = {CF_CLIENT | CF_ARCHIVE, "r_shadows_castfrombmodels", "0", "do cast shadows from bmodels"} |
Definition at line 128 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_Shadow_PrepareModelShadows().
| cvar_t r_shadows_darken = {CF_CLIENT | CF_ARCHIVE, "r_shadows_darken", "0.5", "how much shadowed areas will be darkened"} |
Definition at line 124 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_Shadow_DrawModelShadowMaps().
| cvar_t r_shadows_drawafterrtlighting = {CF_CLIENT | CF_ARCHIVE, "r_shadows_drawafterrtlighting", "0", "draw fake shadows AFTER realtime lightning is drawn. May be useful for simulating fast sunlight on large outdoor maps with only one noshadow rtlight. The price is less realistic appearance of dynamic light shadows."} |
Definition at line 127 of file gl_rmain.c.
Referenced by GL_Main_Init().
| cvar_t r_shadows_focus = {CF_CLIENT | CF_ARCHIVE, "r_shadows_focus", "0 0 0", "offset the shadowed area focus"} |
Definition at line 129 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_Shadow_DrawModelShadowMaps(), and R_Shadow_PrepareModelShadows().
| cvar_t r_shadows_shadowmapbias = {CF_CLIENT | CF_ARCHIVE, "r_shadows_shadowmapbias", "-1", "sets shadowmap bias for fake shadows. -1 sets the value of r_shadow_shadowmapping_bias. Needs shadowmapping ON."} |
Definition at line 131 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_Shadow_DrawModelShadowMaps().
| cvar_t r_shadows_shadowmapscale = {CF_CLIENT | CF_ARCHIVE, "r_shadows_shadowmapscale", "0.25", "higher values increase shadowmap quality at a cost of area covered (multiply global shadowmap precision) for fake shadows. Needs shadowmapping ON."} |
Definition at line 130 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_Shadow_DrawModelShadowMaps(), and R_Shadow_PrepareModelShadows().
| cvar_t r_shadows_throwdirection = {CF_CLIENT | CF_ARCHIVE, "r_shadows_throwdirection", "0 0 -1", "override throwing direction for r_shadows 2"} |
Definition at line 126 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_Shadow_DrawModelShadowMaps(), and R_Shadow_PrepareModelShadows().
| cvar_t r_shadows_throwdistance = {CF_CLIENT | CF_ARCHIVE, "r_shadows_throwdistance", "500", "how far to cast shadows from models"} |
Definition at line 125 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_Shadow_DrawModelShadowMaps(), and R_Shadow_PrepareModelShadows().
| cvar_t r_showbboxes = {CF_CLIENT, "r_showbboxes", "0", "shows bounding boxes of server entities, value controls opacity scaling (1 = 10%, 10 = 100%)"} |
Definition at line 83 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_DrawEntityBBoxes_Callback(), and R_RenderScene().
| cvar_t r_showbboxes_client = {CF_CLIENT, "r_showbboxes_client", "0", "shows bounding boxes of clientside qc entities, value controls opacity scaling (1 = 10%, 10 = 100%)"} |
Definition at line 84 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_DrawEntityBBoxes_Callback(), and R_RenderScene().
| cvar_t r_showcollisionbrushes = {CF_CLIENT, "r_showcollisionbrushes", "0", "draws collision brushes in quake3 maps (mode 1), mode 2 disables rendering of world (trippy!)"} |
Definition at line 89 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_DrawDebugModel(), and R_RenderScene().
| cvar_t r_showcollisionbrushes_polygonfactor = {CF_CLIENT, "r_showcollisionbrushes_polygonfactor", "-1", "expands outward the brush polygons a little bit, used to make collision brushes appear infront of walls"} |
Definition at line 90 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_DrawDebugModel().
| cvar_t r_showcollisionbrushes_polygonoffset = {CF_CLIENT, "r_showcollisionbrushes_polygonoffset", "0", "nudges brush polygon depth in hardware depth units, used to make collision brushes appear infront of walls"} |
Definition at line 91 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_DrawDebugModel().
| cvar_t r_showdisabledepthtest = {CF_CLIENT, "r_showdisabledepthtest", "0", "disables depth testing on r_show* cvars, allowing you to see what hidden geometry the graphics card is processing"} |
Definition at line 92 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_DrawDebugModel(), R_DrawEntityBBoxes_Callback(), and R_Shadow_RenderLighting().
| cvar_t r_showlighting = {CF_CLIENT, "r_showlighting", "0", "shows areas lit by lights, useful for finding out why some areas of a map render slowly (bright orange = lots of passes = slow), a value of 2 disables depth testing which can be interesting but not very useful"} |
Definition at line 88 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_Shadow_DrawLight(), and R_Shadow_RenderMode_VisibleLighting().
| cvar_t r_shownormals = {CF_CLIENT, "r_shownormals", "0", "shows per-vertex surface normals and tangent vectors for bumpmapped lighting"} |
Definition at line 87 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_DrawDebugModel(), and R_RenderScene().
| cvar_t r_showoverdraw = {CF_CLIENT, "r_showoverdraw", "0", "shows overlapping geometry"} |
Definition at line 82 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_DrawDebugModel(), and R_RenderScene().
| cvar_t r_showparticleedges = {CF_CLIENT, "r_showparticleedges", "0", "renders a debug outline to show the polygon shape of each particle, for debugging rendering bugs with specific view types"} |
Definition at line 94 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_DrawParticle_TransparentCallback().
| cvar_t r_showspriteedges = {CF_CLIENT, "r_showspriteedges", "0", "renders a debug outline to show the polygon shape of each sprite frame rendered (may be 2 or more in case of interpolated animations), for debugging rendering bugs with specific view types"} |
Definition at line 93 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_Model_Sprite_Draw_TransparentCallback().
| cvar_t r_showsurfaces = {CF_CLIENT, "r_showsurfaces", "0", "1 shows surfaces as different colors, or a value of 3 shows an approximation to vertex or object color (for a very approximate view of the game)"} |
Definition at line 85 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_DrawModelDecals(), R_DrawModelDecals_Entity(), R_DrawModelDecals_FadeEntity(), R_DrawModelSurfaces(), R_DrawModelTextureSurfaceList(), R_DrawTextureSurfaceList_ShowSurfaces(), R_ProcessModelTextureSurfaceList(), R_UpdateVariables(), and R_Water_StartFrame().
| cvar_t r_showtris = {CF_CLIENT, "r_showtris", "0", "shows triangle outlines, value controls brightness (can be above 1)"} |
Definition at line 86 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_DrawDebugModel(), and R_RenderScene().
| r_skinframe_t r_skinframe |
Definition at line 2165 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_SkinFrame_Find(), R_SkinFrame_FindNextByName(), R_SkinFrame_MarkUsed(), R_SkinFrame_PrepareForPurge(), and R_SkinFrame_Purge().
| cvar_t r_smoothnormals_areaweighting = {CF_CLIENT, "r_smoothnormals_areaweighting", "1", "uses significantly faster (and supposedly higher quality) area-weighted vertex normals and tangent vectors rather than summing normalized triangle normals and tangents"} |
Definition at line 229 of file gl_rmain.c.
Referenced by GL_Main_Init(), Mod_Alias_MorphMesh_CompileFrames(), Mod_DARKPLACESMODEL_Load(), Mod_INTERQUAKEMODEL_Load(), Mod_OBJ_Load(), Mod_PSKMODEL_Load(), Mod_Q1BSP_LoadFaces(), Mod_Q3BSP_LoadFaces(), Mod_VBSP_LoadFaces(), Mod_ZYMOTICMODEL_Load(), RSurf_ActiveCustomEntity(), and RSurf_PrepareVerticesForBatch().
| cvar_t r_sortentities = {CF_CLIENT, "r_sortentities", "0", "sort entities before drawing (might be faster)"} |
| cvar_t r_speeds = {CF_CLIENT, "r_speeds","0", "displays rendering statistics and per-subsystem timings"} |
Definition at line 111 of file gl_rmain.c.
Referenced by CL_UpdateWorld(), GL_Main_Init(), R_DrawModelSurfaces(), R_TimeReport(), R_TimeReport_BeginFrame(), R_TimeReport_EndFrame(), and VID_Finish().
| const msurface_t** r_surfacelist = NULL |
Definition at line 10033 of file gl_rmain.c.
Referenced by R_DrawModelSurfaces().
| svbsp_t r_svbsp |
shadow volume bsp struct with automatically growing nodes buffer
Definition at line 268 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_Q1BSP_CallRecursiveGetLightInfo(), R_Q1BSP_RecursiveGetLightInfo_BIH(), and R_Q1BSP_RecursiveGetLightInfo_BSP().
| cvar_t r_test = {CF_CLIENT, "r_test", "0", "internal development use only, leave it alone (usually does nothing anyway)"} |
Definition at line 235 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_Shadow_DrawModelShadowMaps(), and RSurf_DrawBatch().
| rtexture_t* r_texture_black |
Definition at line 275 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_BuildBlankTextures(), R_GetCurrentTexture(), and R_SetupShader_Surface().
| rtexture_t* r_texture_blanknormalmap |
Definition at line 272 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), Mod_Q1BSP_LoadFaces(), Mod_Q3BSP_LoadFaces(), Mod_VBSP_LoadFaces(), R_BuildBlankTextures(), R_BuildLightMap(), R_GetCurrentTexture(), and R_SetupShader_Surface().
| cubemapinfo_t* r_texture_cubemaps[MAX_CUBEMAPS] |
Definition at line 295 of file gl_rmain.c.
Referenced by gl_main_start(), and R_GetCubemap().
| cvar_t r_texture_dds_load = {CF_CLIENT | CF_ARCHIVE, "r_texture_dds_load", "0", "load compressed dds/filename.dds texture instead of filename.tga, if the file exists (requires driver support)"} |
Definition at line 156 of file gl_rmain.c.
Referenced by GL_Main_Init(), and gl_main_start().
| cvar_t r_texture_dds_save = {CF_CLIENT | CF_ARCHIVE, "r_texture_dds_save", "0", "save compressed dds/filename.dds texture when filename.tga is loaded, so that it can be loaded instead next time"} |
Definition at line 157 of file gl_rmain.c.
Referenced by GL_Main_Init(), gl_main_start(), and R_SkinFrame_LoadExternal_SkinFrame().
| rtexture_t* r_texture_fogattenuation |
Definition at line 279 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_BuildFogTexture(), and R_SetupShader_Surface().
| rtexture_t* r_texture_fogheighttexture |
Definition at line 280 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_BuildFogHeightTexture(), and R_SetupShader_Surface().
| rtexture_t* r_texture_gammaramps |
Definition at line 281 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_BlendView(), R_SetupShader_Generic(), R_SetupShader_Surface(), and R_UpdateVariables().
Definition at line 282 of file gl_rmain.c.
Referenced by R_UpdateVariables().
| rtexture_t* r_texture_grey128 |
Definition at line 274 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_BuildBlankTextures(), and R_GetCurrentTexture().
| rtexture_t* r_texture_normalizationcube |
Definition at line 278 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), and R_BuildNormalizationCube().
| rtexture_t* r_texture_notexture |
Definition at line 276 of file gl_rmain.c.
Referenced by R_BuildNoTexture(), and R_GetCurrentTexture().
| int r_texture_numcubemaps |
Definition at line 294 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), and R_GetCubemap().
| rtexture_t* r_texture_reflectcube |
Definition at line 284 of file gl_rmain.c.
| rtexture_t* r_texture_white |
Definition at line 273 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_BuildBlankTextures(), R_GetCurrentTexture(), R_RealGetTexture(), and R_SetupShader_Surface().
| rtexture_t* r_texture_whitecube |
Definition at line 277 of file gl_rmain.c.
Referenced by gl_main_shutdown(), gl_main_start(), R_BuildWhiteCube(), R_GetCubemap(), R_SetupShader_DeferredLight(), R_SetupShader_Surface(), and R_Shadow_PrepareLight().
| int r_textureframe = 0 |
used only by R_GetCurrentTexture, incremented per view and per UI render
Definition at line 45 of file gl_rmain.c.
Referenced by DrawQ_FlushUI(), R_GetCurrentTexture(), and R_RenderView().
| cvar_t r_transparent = {CF_CLIENT, "r_transparent", "1", "allows use of transparent surfaces (can be turned off to check performance impact)"} |
Definition at line 78 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_RenderScene().
| cvar_t r_transparent_alphatocoverage = {CF_CLIENT, "r_transparent_alphatocoverage", "1", "enables GL_ALPHA_TO_COVERAGE antialiasing technique on alphablend and alphatest surfaces when using vid_samples 2 or higher"} |
Definition at line 79 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_GetCurrentTexture(), and R_SetupShader_Surface().
| cvar_t r_transparent_sortarraysize = {CF_CLIENT | CF_ARCHIVE, "r_transparent_sortarraysize", "4096", "number of distance-sorting layers"} |
Definition at line 143 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_MeshQueue_RenderTransparent().
| cvar_t r_transparent_sortmaxdist = {CF_CLIENT | CF_ARCHIVE, "r_transparent_sortmaxdist", "32768", "upper distance limit for transparent sorting"} |
Definition at line 142 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_MeshQueue_RenderTransparent().
| cvar_t r_transparent_sortmindist = {CF_CLIENT | CF_ARCHIVE, "r_transparent_sortmindist", "0", "lower distance limit for transparent sorting"} |
Definition at line 141 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_MeshQueue_RenderTransparent().
| cvar_t r_transparent_sortsurfacesbynearest = {CF_CLIENT, "r_transparent_sortsurfacesbynearest", "1", "sort entity and world surfaces by nearest point on bounding box instead of using the center of the bounding box, usually reduces sorting artifacts"} |
Definition at line 80 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_Mod_DrawLight(), and R_ProcessTransparentTextureSurfaceList().
| cvar_t r_transparent_useplanardistance = {CF_CLIENT, "r_transparent_useplanardistance", "0", "sort transparent meshes by distance from view plane rather than spherical distance to the chosen point"} |
Definition at line 81 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_MeshQueue_AddTransparent().
| cvar_t r_transparentdepthmasking = {CF_CLIENT | CF_ARCHIVE, "r_transparentdepthmasking", "0", "enables depth writes on transparent meshes whose materially is normally opaque, this prevents seeing the inside of a transparent mesh"} |
Definition at line 140 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_DrawSurface_TransparentCallback(), and R_GetCurrentTexture().
| int r_uniformbufferalignment = 32 |
Definition at line 270 of file gl_rmain.c.
Referenced by gl_main_start(), and R_BufferData_Store().
| cvar_t r_usedepthtextures = {CF_CLIENT | CF_ARCHIVE, "r_usedepthtextures", "1", "use depth texture instead of depth renderbuffer where possible, uses less video memory but may render slower (or faster) depending on hardware"} |
Definition at line 159 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_Bloom_StartFrame().
| cvar_t r_useinfinitefarclip = {CF_CLIENT | CF_ARCHIVE, "r_useinfinitefarclip", "1", "enables use of a special kind of projection matrix that has an extremely large farclip"} |
Definition at line 73 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_SetupView().
| cvar_t r_viewfbo = {CF_CLIENT | CF_ARCHIVE, "r_viewfbo", "0", "enables use of an 8bit (1) or 16bit (2) or 32bit (3) per component float framebuffer render, which may be at a different resolution than the video mode; the default setting of 0 uses a framebuffer render when required, and renders directly to the screen otherwise"} |
Definition at line 160 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_BlendView_IsTrivial(), R_Bloom_StartFrame(), and VID_Mode().
| cvar_t r_viewscale = {CF_CLIENT | CF_ARCHIVE, "r_viewscale", "1", "scaling factor for resolution of the fbo rendering method, must be > 0, can be above 1 for a costly antialiasing behavior, typical values are 0.5 for 1/4th as many pixels rendered, or 1 for normal rendering"} |
Definition at line 162 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_Bloom_StartFrame().
| cvar_t r_viewscale_fpsscaling = {CF_CLIENT | CF_ARCHIVE, "r_viewscale_fpsscaling", "0", "change resolution based on framerate"} |
| cvar_t r_viewscale_fpsscaling_min = {CF_CLIENT | CF_ARCHIVE, "r_viewscale_fpsscaling_min", "0.0625", "worst acceptable quality"} |
| cvar_t r_viewscale_fpsscaling_multiply = {CF_CLIENT | CF_ARCHIVE, "r_viewscale_fpsscaling_multiply", "5", "adjust quality up or down by the frametime difference from 1.0/target, multiplied by this factor"} |
Definition at line 165 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_Bloom_StartFrame().
| cvar_t r_viewscale_fpsscaling_stepmax = {CF_CLIENT | CF_ARCHIVE, "r_viewscale_fpsscaling_stepmax", "1.00", "largest adjustment to hit the target framerate (this value prevents wild overshooting of the estimate)"} |
Definition at line 167 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_Bloom_StartFrame().
| cvar_t r_viewscale_fpsscaling_stepsize = {CF_CLIENT | CF_ARCHIVE, "r_viewscale_fpsscaling_stepsize", "0.01", "smallest adjustment to hit the target framerate (this value prevents minute oscillations)"} |
Definition at line 166 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_Bloom_StartFrame().
| cvar_t r_viewscale_fpsscaling_target = {CF_CLIENT | CF_ARCHIVE, "r_viewscale_fpsscaling_target", "70", "desired framerate"} |
| cvar_t r_water = {CF_CLIENT | CF_ARCHIVE, "r_water", "0", "whether to use reflections and refraction on water surfaces (note: r_wateralpha must be set below 1)"} |
Definition at line 192 of file gl_rmain.c.
Referenced by GL_Main_Init(), R_GetCurrentTexture(), R_Water_ProcessPlanes(), and R_Water_StartFrame().
| cvar_t r_water_cameraentitiesonly = {CF_CLIENT | CF_ARCHIVE, "r_water_cameraentitiesonly", "0", "whether to only show QC-defined reflections/refractions (typically used for camera- or portal-like effects)"} |
Definition at line 193 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_Water_ProcessPlanes().
| cvar_t r_water_clippingplanebias = {CF_CLIENT | CF_ARCHIVE, "r_water_clippingplanebias", "1", "a rather technical setting which avoids black pixels around water edges"} |
Definition at line 194 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_SetupView().
| cvar_t r_water_hideplayer = {CF_CLIENT | CF_ARCHIVE, "r_water_hideplayer", "0", "if set to 1 then player will be hidden in refraction views, if set to 2 then player will also be hidden in reflection views, player is always visible in camera views"} |
Definition at line 200 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_Water_ProcessPlanes().
| cvar_t r_water_lowquality = {CF_CLIENT, "r_water_lowquality", "0", "special option to accelerate water rendering: 1 disables all dynamic lights, 2 disables particles too"} |
Definition at line 199 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_Water_ProcessPlanes().
| cvar_t r_water_reflectdistort = {CF_CLIENT | CF_ARCHIVE, "r_water_reflectdistort", "0.01", "how much water reflections shimmer"} |
Definition at line 197 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_SetupShader_Surface().
| cvar_t r_water_refractdistort = {CF_CLIENT | CF_ARCHIVE, "r_water_refractdistort", "0.01", "how much water refractions shimmer"} |
Definition at line 196 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_SetupShader_Surface().
| cvar_t r_water_resolutionmultiplier = {CF_CLIENT | CF_ARCHIVE, "r_water_resolutionmultiplier", "0.5", "multiplier for screen resolution when rendering refracted/reflected scenes, 1 is full quality, lower values are faster"} |
Definition at line 195 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_Water_StartFrame().
| cvar_t r_water_scissormode = {CF_CLIENT, "r_water_scissormode", "3", "scissor (1) or cull (2) or both (3) water renders"} |
Definition at line 198 of file gl_rmain.c.
Referenced by GL_Main_Init(), and R_Water_ProcessPlanes().
| cvar_t r_wateralpha = {CF_CLIENT | CF_ARCHIVE, "r_wateralpha","1", "opacity of water polygons"} |
Definition at line 120 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), R_DrawTextureSurfaceList_ShowSurfaces(), R_GetCurrentTexture(), and R_SetupShader_Surface().
| cvar_t r_waterscroll = {CF_CLIENT | CF_ARCHIVE, "r_waterscroll", "1", "makes water scroll around, value controls how much"} |
Definition at line 206 of file gl_rmain.c.
Referenced by GL_Main_Init(), M_Menu_Options_Effects_AdjustSliders(), M_Options_Effects_Draw(), and R_RenderScene().
| matrix4x4_t r_waterscrollmatrix |
Definition at line 5402 of file gl_rmain.c.
Referenced by R_GetCurrentTexture(), R_RenderScene(), and R_tcMod_ApplyToMatrix().
| rsurfacestate_t rsurface |
Definition at line 6955 of file gl_rmain.c.
Referenced by R_DecalSystem_SplatEntity(), R_DecalSystem_SplatTriangle(), R_DrawCustomSurface_Texture(), R_DrawDebugModel(), R_DrawModelDecals_Entity(), R_DrawModelSurfaces(), R_DrawNoModel(), R_DrawNoModel_TransparentCallback(), R_DrawPortals(), R_DrawSurface_TransparentCallback(), R_DrawTextureSurfaceList_DepthOnly(), R_DrawTextureSurfaceList_GL20(), R_DrawTextureSurfaceList_ShowSurfaces(), R_DrawTextureSurfaceList_Sky(), R_EvaluateQ3WaveFunc(), R_GetCurrentTexture(), R_Mod_DrawAddWaterPlanes(), R_Mod_DrawLight(), R_Mod_DrawShadowMap(), R_Mod_GetLightInfo(), R_Model_Sprite_Draw(), R_Model_Sprite_Draw_TransparentCallback(), R_ProcessModelTextureSurfaceList(), R_ProcessTransparentTextureSurfaceList(), R_Q1BSP_DrawLight_TransparentCallback(), R_QueueModelSurfaceList(), R_RenderView(), R_SetupShader_DeferredLight(), R_SetupShader_DepthOrShadow(), R_SetupShader_Surface(), R_Shadow_DrawEntityLight(), R_Shadow_DrawEntityShadow(), R_Shadow_DrawModelShadowMaps(), R_Shadow_DrawWorldLight(), R_Shadow_DrawWorldShadow_ShadowMap(), R_Shadow_RenderLighting(), R_Shadow_RenderLighting_VisibleLighting(), R_Shadow_RenderMode_ActiveLight(), R_Shadow_RenderMode_DrawDeferredLight(), R_Shadow_RenderMode_ShadowMap(), R_Shadow_SetShadowmapParametersForLight(), R_Shadow_SetupEntityLight(), R_tcMod_ApplyToMatrix(), R_TestQ3WaveFunc(), R_Water_AddWaterPlane(), RSurf_ActiveCustomEntity(), RSurf_ActiveModelEntity(), RSurf_DrawBatch(), RSurf_FindWaterPlaneForSurface(), RSurf_FogVertex(), RSurf_PrepareVerticesForBatch(), RSurf_SetupDepthAndCulling(), and RSurf_UploadBuffersForBatch().
| shadermodeinfo_t shadermodeinfo[SHADERLANGUAGE_COUNT][SHADERMODE_COUNT] |
Definition at line 662 of file gl_rmain.c.
Referenced by R_GLSL_CompilePermutation(), R_GLSL_DumpShader_f(), and R_InitShaderModeInfo().
| shaderpermutationinfo_t shaderpermutationinfo[SHADERPERMUTATION_COUNT] |
Definition at line 625 of file gl_rmain.c.
Referenced by R_GLSL_CompilePermutation(), and R_GLSL_DumpShader_f().
|
static |
Definition at line 854 of file gl_rmain.c.
Referenced by R_CompileShader_AddStaticParms(), and R_GLSL_CompilePermutation().
|
static |
Definition at line 853 of file gl_rmain.c.
Referenced by R_GLSL_CompilePermutation().
|
static |
Definition at line 2877 of file gl_rmain.c.
Referenced by R_LoadCubemap().
|
extern |
Definition at line 17 of file gl_backend.c.
Referenced by GL_CullFace(), and GL_SetMirrorState().
|
extern |
Definition at line 187 of file vid_shared.c.
Referenced by R_SetupShader_Generic(), and VID_Shared_Init().
|
extern |
| float viewscalefpsadjusted = 1.0f |
Definition at line 4390 of file gl_rmain.c.
Referenced by R_Bloom_StartFrame().